Neotree close preview mapping

This commit is contained in:
juanmagalhaes 2023-08-14 18:07:03 -03:00
parent 6a028150f0
commit 1b94c10240
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ vim.keymap.set("n", "<Esc>", function()
vim.notify("")
-- Removes highlight search
vim.cmd.noh()
vim.cmd(':silent! Neotree cancel<cr>')
end, { silent = true })
-- Split resize