]> code.delx.au - dotfiles/blobdiff - .vim/display.vim
bash: reorder initialisation
[dotfiles] / .vim / display.vim
index 9f8712dbb182e73f3def2881c2eb0060703e57dc..12c478d55a62e5063432d2e037662a6c36873029 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=
@@ -30,7 +27,31 @@ set showmatch
 
 " Show the filename title in xterms
 set title
+set t_ts=\e]0;
+set t_fs=\a
 
 " Make the autocompletion of filenames,etc behave like bash
 set wildmode=longest,list
 
+" Allow splits to have 0 height (use C-W _)
+set wmh=0
+
+" 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
+