mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-02 01:39:26 +00:00
[neovim] Close Neo-tree if it is the last window left in the tab
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
vim.cmd("autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif")
|
||||
|
||||
-- Highlight Yanked Text
|
||||
vim.api.nvim_create_autocmd({ "TextYankPost" }, {
|
||||
callback = function()
|
||||
|
Reference in New Issue
Block a user