make the :WQ stuff more compat, removed the auto de-highlighting in favor of a key

This commit is contained in:
dave 2009-02-12 19:41:34 -06:00
parent 4da2e78619
commit 2e8fe80bb7

11
vimrc
View file

@ -160,9 +160,6 @@ if has('mouse')
endif
if has('autocmd')
" unhighlight search when idle
autocmd CursorHold * nohls | redraw
" always refresh syntax from the start
autocmd BufEnter * syntax sync fromstart
@ -248,8 +245,12 @@ map Y y$
vmap K k
" :W and :Q are annoying
cmap W w
cmap Q q
nmap :X :x
nmap :W :w
nmap :Q :q
nmap :WQ :wq
nmap :Wq :wq
" just continue
nmap K K<cr>