diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-05-16 15:57:02 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-05-16 15:57:02 -0500 |
commit | cfdb82f7fc6180fc9f4af579b98b9a20b534eaf5 (patch) | |
tree | 7f299bd8cae63ae005e0f7f1953c18da2f0dbdb2 | |
parent | e9567d2a8260e4a2e08d0c28d53c93ce8033b1f1 (diff) | |
download | conf-cfdb82f7fc6180fc9f4af579b98b9a20b534eaf5.tar.gz conf-cfdb82f7fc6180fc9f4af579b98b9a20b534eaf5.zip |
stop making visual mode mapping apply to select mode
-rw-r--r-- | vimrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -307,8 +307,8 @@ nmap <Leader>gB :execute "wa <bar> :execute '!git stash apply' <bar> :silent ex " }}} " }}} " Keep the current selection when indenting (thanks cbus) {{{ -vnoremap < <gv -vnoremap > >gv +xnoremap < <gv +xnoremap > >gv " }}} " Painless spell checking (F11) {{{ function s:spell() @@ -432,7 +432,7 @@ function s:nopaste(visual) echo @+ endfunction nmap <silent> <Leader>p :call <SID>nopaste(0)<CR> -vmap <silent> <Leader>p :<C-U>call <SID>nopaste(1)<CR> +xmap <silent> <Leader>p :<C-U>call <SID>nopaste(1)<CR> " }}} " better version of keywordprg {{{ function Help(visual, iskeyword, command) @@ -462,7 +462,7 @@ function s:man(word) set ft=man endfunction nmap <silent>K :call Help(0, [], '<SID>man')<CR> -vmap <silent>K :call Help(1, [], '<SID>man')<CR> +xmap <silent>K :call Help(1, [], '<SID>man')<CR> " }}} " Miscellaneous {{{ " have Y behave analogously to D rather than to dd |