summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-01-02 19:08:05 -0500
committerdoy <doy@tozt.net>2009-01-02 19:08:05 -0500
commit90511923b8c6cb3705530c95fdd9889f05329e48 (patch)
tree10d14f2444e1a5e8dd4eab21bd576f73de34526f /vimrc
parent20dabde53e0c99852786b0c4475538f7c06a6625 (diff)
downloadconf-90511923b8c6cb3705530c95fdd9889f05329e48.tar.gz
conf-90511923b8c6cb3705530c95fdd9889f05329e48.zip
clean up leading and trailing whitespace from read/append
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index 2cdde09..c4b8e6f 100644
--- a/vimrc
+++ b/vimrc
@@ -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 {{{