From 2e8fe80bb7d465ad2d9dadb7ec622efd6343a584 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 12 Feb 2009 19:41:34 -0600 Subject: [PATCH] make the :WQ stuff more compat, removed the auto de-highlighting in favor of a key --- vimrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/vimrc b/vimrc index 03b4c05..2dab32f 100644 --- a/vimrc +++ b/vimrc @@ -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