From 5a90ac916b762bf2f52dfef6c5c6fc4e097ec3f7 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 26 Oct 2016 17:41:55 -0400 Subject: git-blamer: Open blame windows `leftabove` Based on my current Vim settings, splits open to the right (I have `splitright` turned on). This causes the blame window to open to the right of the file in question, which is weird, since normally that metadata appears to the left of the file. Open the Blamer split on the left by default to make the formatting more consistent with the normal `git blame` output. --- bundle/git-blamer/autoload/git_blamer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bundle/git-blamer/autoload/git_blamer.vim') diff --git a/bundle/git-blamer/autoload/git_blamer.vim b/bundle/git-blamer/autoload/git_blamer.vim index cfd58f4..65a1c24 100644 --- a/bundle/git-blamer/autoload/git_blamer.vim +++ b/bundle/git-blamer/autoload/git_blamer.vim @@ -12,7 +12,7 @@ function! git_blamer#Blame() \ call setwinvar(' . l:window_number . ', "&cursorbind", 0)' " Open new window - vnew + leftabove vnew setlocal noswapfile nowrap nolist nobuflisted buftype=nofile bufhidden=wipe setlocal scrollbind cursorbind -- cgit v1.2.3