mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
nvim-tree: auto-close when it is the only win
This commit is contained in:
parent
2b24d0794e
commit
f357b0bee8
@ -5,7 +5,7 @@ nvim_tree.setup({
|
||||
hijack_netrw = true,
|
||||
open_on_setup = false,
|
||||
ignore_ft_on_setup = {},
|
||||
auto_close = false,
|
||||
auto_close = true,
|
||||
open_on_tab = false,
|
||||
hijack_cursor = false,
|
||||
update_cwd = false,
|
||||
@ -59,4 +59,5 @@ nvim_tree.setup({
|
||||
require_confirm = true,
|
||||
},
|
||||
})
|
||||
|
||||
vim.api.nvim_set_keymap("n", "<space>s", "<cmd>NvimTreeToggle<CR>", { noremap = true, silent = true })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user