diff options
author | Teddy Wing | 2016-10-26 17:41:55 -0400 |
---|---|---|
committer | Teddy Wing | 2016-10-26 17:41:55 -0400 |
commit | 5a90ac916b762bf2f52dfef6c5c6fc4e097ec3f7 (patch) | |
tree | 5421a199cf9f6be3dbaf058ee10ec75dcab08b18 /bundle/git-blamer/autoload/git_blamer.vim | |
parent | 5504e15411b0f682f3415677e65cbf03d6339d50 (diff) | |
download | dotvim-5a90ac916b762bf2f52dfef6c5c6fc4e097ec3f7.tar.bz2 |
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.
Diffstat (limited to 'bundle/git-blamer/autoload/git_blamer.vim')
-rw-r--r-- | bundle/git-blamer/autoload/git_blamer.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |