Change keybindings and add better buffer handling

This commit is contained in:
Johannes Knopp
2024-12-05 13:19:36 +01:00
parent e31a8b9cf8
commit 65045e99b8
10 changed files with 32 additions and 6 deletions

View File

@ -19,7 +19,9 @@ return {
-- If NvimTree was opened when the session was saved, show it
if buf_exists('NvimTree_') then
require('nvim-tree.api').tree.open()
local nvim_tree_api = require('nvim-tree.api')
nvim_tree_api.tree.reload()
nvim_tree_api.tree.open()
end
end
}