From 90024956ba0e429b97f07f9d95c2815cf8338e43 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 5 May 2008 16:20:09 +0100 Subject: [PATCH] add comment about nosplitbelow and git-config --- .vimrc | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2