diff --git a/vim/settings/vim-fugitive.vim b/vim/settings/vim-fugitive.vim index acb69f22..04d50730 100644 --- a/vim/settings/vim-fugitive.vim +++ b/vim/settings/vim-fugitive.vim @@ -3,7 +3,7 @@ " parent directory. Here’s a mapping of .. to the above command, but " only for buffers containing a git blob or tree autocmd User fugitive - \ get(b:, 'fugitive_type', '') =~# '^\%(tree\|blob\)$' | + \ if get(b:, 'fugitive_type', '') =~# '^\%(tree\|blob\)$' | \ nnoremap .. :edit %:h | \ endif