summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-27 01:14:30 -0400
committerJesse Luehrs <doy@tozt.net>2013-10-27 04:31:59 -0400
commit9a90d48beba676d432ff2db0760507e6d5b77b56 (patch)
tree9065b83eaf15ef904949d9eb673772225cac65da
parent4fa9c9cde5d800cd405f25aa69311a829ebe3332 (diff)
downloadconf-9a90d48beba676d432ff2db0760507e6d5b77b56.tar.gz
conf-9a90d48beba676d432ff2db0760507e6d5b77b56.zip
this also needs to be a relative path
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 95df0ad..306ca33 100644
--- a/vimrc
+++ b/vimrc
@@ -455,7 +455,7 @@ function! s:vcs_orig(file)
endif
endfunction
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> 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 {{{