# HG changeset patch # User zegervdv # Date 1611416569 -3600 # Node ID 111a00459ad914a50c8cc0a70f566667a44b5b35 # Parent 140a585c3393cab1002131f4474edeb366babe20 Make gitcommit, -rebase, etc buffers hidden This allows to close commit messages with :wq when launched through nvr from within a :terminal diff -r 140a585c3393 -r 111a00459ad9 dot_config/nvim/init.vim --- 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 {{{