Mercurial > dotfiles
comparison 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 |
comparison
equal
deleted
inserted
replaced
340:140a585c3393 | 341:111a00459ad9 |
---|---|
835 " }}} | 835 " }}} |
836 " Git commit messages {{{ | 836 " Git commit messages {{{ |
837 augroup ft_git | 837 augroup ft_git |
838 au! | 838 au! |
839 au FileType gitcommit setlocal spell spelllang=en_gb | 839 au FileType gitcommit setlocal spell spelllang=en_gb |
840 autocmd FileType gitcommit,gitrebase,gitconfig set bufhidden=delete | |
840 augroup END | 841 augroup END |
841 " }}} | 842 " }}} |
842 " Ruby {{{ | 843 " Ruby {{{ |
843 augroup ft_ruby | 844 augroup ft_ruby |
844 au! | 845 au! |