]> code.delx.au - dotfiles/blobdiff - .vim/display.vim
Gratuitous restructuring of vim config
[dotfiles] / .vim / display.vim
index fdbce7e367449473c3868c80c28e4bccb6b51ebc..3397c4c68759d3188f1c9c6d53855f6d16f33389 100644 (file)
@@ -14,9 +14,6 @@ set nowrap
 " If wordwrap is on, don't split words across lines
 set linebreak
 
-" Don't wrap my lines at 78 chars please!
-set textwidth=0
-
 " String to put at the start of lines that have been wrapped
 "set showbreak=+
 set showbreak=
@@ -42,3 +39,19 @@ map <C-K> <C-W>k<C-W>_
 " Always keep one line of context around the cursor
 set scrolloff=1
 
+" Match search results as you type
+set incsearch
+
+" Ignore case when searching
+set ignorecase
+
+" Ignore the ignorecase character if search contains uppercase chars
+set smartcase
+
+" Highlight search terms
+set hlsearch
+
+" Mouse options
+set mouse=a
+set mousehide
+