diff --git a/vimrc b/vimrc index 2dab32f..7033707 100644 --- a/vimrc +++ b/vimrc @@ -245,12 +245,11 @@ map Y y$ vmap K k " :W and :Q are annoying -nmap :X :x -nmap :W :w -nmap :Q :q -nmap :WQ :wq -nmap :Wq :wq - +command! -nargs=0 -bang X x +command! -nargs=0 -bang Q q +command! -nargs=0 -bang W w +command! -nargs=0 -bang WQ wq +command! -nargs=0 -bang Wq wq " just continue nmap K K @@ -258,6 +257,7 @@ nmap K K " Toggle numbers with F12 nmap :silent set number! imap :silent set number! +noremap :set hls! " Don't force column 0 for # inoremap # X#