From 48b640249f235ed5c290d0065b6b86d949dda3dc Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Tue, 30 Nov 2010 00:02:57 +1000 Subject: [PATCH] Get rid of dubious vim maps --- vim/vimrc | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index c20b90d..19fe96f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -16,17 +16,17 @@ set guioptions=aAce set mouse=a " Window manipulation -map tt +"map tt map | " This and the below are also useful for colemak map " Surrounds shortcuts for visual selections -vmap " s" -vmap ' s' -vmap ( s) -vmap [ s] -vmap { s} -vmap < s> +"vmap " s" +"vmap ' s' +"vmap ( s) +"vmap [ s] +"vmap { s} +"vmap < s> " Pressing backspace with selection does something weird " thanks to above surrounds shortcuts so let's be specific @@ -40,24 +40,11 @@ vmap xi " and 'l' which are where 'y' and 'u' are in in QWERTY) nmap h nmap k -nmap j -nmap l - -" Quick save -nmap w :w! " Nicer split controls "map normal :split "map normal :vsplit -imap ii | " 'i' for insert mode and 'ii' to get out of it! - -map nn | " This will probably have to be remapped (because nn is a fairly common combo) -imap nn | - -map | -imap | - " Emacs-like keys for the command line cnoremap cnoremap