]> code.delx.au - dotfiles/blobdiff - .vim/display.vim
xmonad: change restart key
[dotfiles] / .vim / display.vim
index fdbce7e367449473c3868c80c28e4bccb6b51ebc..0456e6f8f30326ed22b17061eeb904a03a68ee42 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=
@@ -36,9 +33,23 @@ set wildmode=longest,list
 
 " Allow splits to have 0 height (use C-W _)
 set wmh=0
-map <C-J> <C-W>j<C-W>_
-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
+