Updated config

This commit is contained in:
2023-06-20 17:27:03 +02:00
parent 69b5f1e42b
commit 013187dc6b
4 changed files with 22 additions and 0 deletions

View File

@@ -8,3 +8,9 @@ nvimtree.setup({
width = 30,
}
})
-- hacky keybinding to change root dir
vim.keymap.set("n", "<leader>tr", function ()
require("nvim-tree.api").tree.change_root(vim.fn.getcwd())
end)