Mercurial > dotfiles
diff dot_config/nvim/init.vim @ 341:111a00459ad9
Make gitcommit, -rebase, etc buffers hidden
This allows to close commit messages with :wq when launched through nvr
from within a :terminal
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sat, 23 Jan 2021 16:42:49 +0100 |
parents | 140a585c3393 |
children | 606a805e5820 |
line wrap: on
line diff
--- a/dot_config/nvim/init.vim Sat Jan 23 16:39:57 2021 +0100 +++ b/dot_config/nvim/init.vim Sat Jan 23 16:42:49 2021 +0100 @@ -837,6 +837,7 @@ augroup ft_git au! au FileType gitcommit setlocal spell spelllang=en_gb + autocmd FileType gitcommit,gitrebase,gitconfig set bufhidden=delete augroup END " }}} " Ruby {{{