motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit ce3d3df5087700852c194b3eff436d26a737f2c3 (tree)
parent cb18a96651cc2bde4a3da679810ce7388f41879d
Author: Tim Pope <code@tpope.net>
Date:   Mon, 31 Dec 2018 01:45:01 -0500

Fix maps in commit buffers

Diffstat:
Mautoload/fugitive.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -1655,6 +1655,7 @@ function! fugitive#BufReadCmd(...) abort nnoremap <buffer> <silent> a :<C-U>let b:fugitive_display_format += v:count1<Bar>exe fugitive#BufReadCmd(@%)<CR> nnoremap <buffer> <silent> i :<C-U>let b:fugitive_display_format -= v:count1<Bar>exe fugitive#BufReadCmd(@%)<CR> else + let &modifiable = modifiable call fugitive#MapJumps() endif endtry