From 17acd727bbb97950536da0963f0b9a2af449ee13 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 7 Mar 2018 21:11:51 +0100 Subject: git-blamer: Add `q` mapping to quit window Makes it just a bit easier to close the GitBlamer window. Since we shouldn't need macros in this panel it should be fine. --- bundle/git-blamer/autoload/git_blamer.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bundle/git-blamer/autoload') diff --git a/bundle/git-blamer/autoload/git_blamer.vim b/bundle/git-blamer/autoload/git_blamer.vim index cafb332..55c4dbe 100644 --- a/bundle/git-blamer/autoload/git_blamer.vim +++ b/bundle/git-blamer/autoload/git_blamer.vim @@ -33,6 +33,8 @@ function! git_blamer#Blame() setlocal scrollbind cursorbind syncbind + nnoremap q :q + " Restore starting file's scrollbind on exit autocmd BufWinLeave execute b:git_blamer_restore endfunction -- cgit v1.2.3