summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-18 14:32:40 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-18 14:32:40 +0100
commit08aa4bec9cc827d3f5e5e0f0678e55248b19de63 (patch)
tree6fa80d6719dc3119760ffc87b16e7add0100a002 /modules/programs
parent332500042b5a56ba91cca24886f090c2196b6af9 (diff)
add sensible vim options
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/vim.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/programs/vim.nix b/modules/programs/vim.nix
index 115fa0f..3319c91 100644
--- a/modules/programs/vim.nix
+++ b/modules/programs/vim.nix
@@ -95,16 +95,19 @@ in {
set bs=indent,start
set hlsearch
+ set incsearch
nnoremap // :nohlsearch<CR>
- set nowrap
- set number
-
set list
set listchars=tab:»·,trail:·,extends:⟩,precedes:⟨
set fillchars+=vert:\ ,stl:\ ,stlnc:\
+ set number
+
set lazyredraw
+ set nowrap
+ set showcmd
+ set showmatch
'';
};