diff options
author | doy <doy@tozt.net> | 2009-01-02 19:08:05 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-01-02 19:08:05 -0500 |
commit | 90511923b8c6cb3705530c95fdd9889f05329e48 (patch) | |
tree | 10d14f2444e1a5e8dd4eab21bd576f73de34526f /vimrc | |
parent | 20dabde53e0c99852786b0c4475538f7c06a6625 (diff) | |
download | conf-90511923b8c6cb3705530c95fdd9889f05329e48.tar.gz conf-90511923b8c6cb3705530c95fdd9889f05329e48.zip |
clean up leading and trailing whitespace from read/append
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -415,8 +415,8 @@ function s:vcs_orig(file) throw 'No vcs found' endif endfunction -nmap <silent> ds :call <SID>diffstart('read #')<CR> -nmap <silent> dc :call <SID>diffstart('call append(0, split(s:vcs_orig(expand("#")), "\n", 1)) <bar> normal Gdd')<CR> +nmap <silent> ds :call <SID>diffstart('read # <bar> normal ggdd')<CR> +nmap <silent> dc :call <SID>diffstart('call append(0, split(s:vcs_orig(expand("#")), "\n", 1)) <bar> normal Gdddd')<CR> nmap <silent> de :call <SID>diffstop()<CR> " }}} " Arrow keys {{{ |