fix(nvim): actually close tabs when told to close tabs
This commit is contained in:
parent
a3c7ec76e1
commit
10301b43af
1 changed files with 7 additions and 1 deletions
|
@ -35,7 +35,7 @@ set sidescrolloff=8
|
|||
set scrolloff=2
|
||||
|
||||
" Tweak the neovim popup-style(pum) wildmenu for file selection. Slightly
|
||||
" alter the behaviour when you press the tab key and rotate the axe of the
|
||||
" alter the behaviour when you press the tab key and rotate the axis of the
|
||||
" arrow keys. https://vi.stackexchange.com/a/22628
|
||||
" FIXME: Pressing left during file selection moves up 2 levels in the dir
|
||||
" tree. This is a problem with the wildmenu file selector in general.
|
||||
|
@ -53,6 +53,12 @@ nnoremap U <C-r>
|
|||
set number
|
||||
set nofoldenable
|
||||
|
||||
" If this is not set, neovim will hide tabs instead of closing them, resulting
|
||||
" in errors if you close a file as tab in one vim instance and subsecuently
|
||||
" try to open it in another instance. I have not checked if this has other
|
||||
" side effects.
|
||||
set nohidden
|
||||
|
||||
" Yaml Indent
|
||||
autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue