From ce3d3df5087700852c194b3eff436d26a737f2c3 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 31 Dec 2018 01:45:01 -0500 Subject: [PATCH] Fix maps in commit buffers --- autoload/fugitive.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index cefd59b..c7eb72e 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1655,6 +1655,7 @@ function! fugitive#BufReadCmd(...) abort nnoremap a :let b:fugitive_display_format += v:count1exe fugitive#BufReadCmd(@%) nnoremap i :let b:fugitive_display_format -= v:count1exe fugitive#BufReadCmd(@%) else + let &modifiable = modifiable call fugitive#MapJumps() endif endtry