From: martin f. krafft Date: Mon, 5 May 2008 15:20:09 +0000 (+0100) Subject: add comment about nosplitbelow and git-config X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/90024956ba0e429b97f07f9d95c2815cf8338e43 add comment about nosplitbelow and git-config --- diff --git a/.vimrc b/.vimrc index 0bf4fd5..a361aa9 100644 --- a/.vimrc +++ b/.vimrc @@ -1449,6 +1449,7 @@ autocmd BufNewFile,BufRead /etc/logcheck/*.d*/* set tw=0 autocmd BufNewFile,BufRead /home/madduck/debian/pkg/logcheck/*/rulefiles/linux/*.d*/* set tw=0 " display the git-diff --cached in window below commit +" assumes nosplitbelow set. Might want to use wincmd p otherwise autocmd FileType gitcommit DiffGitCached | wincmd J " jump to last known position in file (:he last-position-jump)