commit afe8fe4b7468924f557526a5788d3ad1a741922b
parent 41c4c0be0cb8bb63f5c7f9f7451da8323689ecf1
Author: Chris Bracken <chris@bracken.jp>
Date: Sat, 24 May 2014 11:33:00 -0700
Remove comments from :map lines
Diffstat:
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -17,15 +17,23 @@ filetype plugin indent on
let mapleader=','
let s:cpo_save=&cpo
set cpo&vim
-map! <S-Insert> <MiddleMouse> " Middle-mouse paste
+
+" Middle-mouse paste
+map! <S-Insert> <MiddleMouse>
map <S-Insert> <MiddleMouse>
-inoremap jj <ESC> " jj = ESC
-nmap <F2> :noh<CR> " Clear seach highlight
-noremap <Up> <NOP> " Kill arrow keys, for great justice
+
+" Kill ex mode, map jj to ESC
+noremap Q <NOP>
+inoremap jj <ESC>
+"
+" Kill arrow keys, for great justice
+noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>
-vmap < <gv " Retain selection on >,<
+
+" Retain selection on <,>
+vmap < <gv
vmap > >gv
let &cpo=s:cpo_save
unlet s:cpo_save