Add new mappings for neotree, add neotree shortcut to dashboard

This commit is contained in:
Evie Litherland-Smith 2023-02-20 18:19:32 +00:00
parent b37c900acb
commit 3505bb8abe
2 changed files with 13 additions and 0 deletions

View file

@ -14,6 +14,13 @@ return {
action = "Telescope find_files", action = "Telescope find_files",
key = "f", key = "f",
}, },
{
icon = "",
desc = "File tree",
group = "Label",
action = "Neotree",
key = "n",
},
}, },
}, },
} }

View file

@ -1,6 +1,12 @@
return { return {
close_if_last_window = true, close_if_last_window = true,
filesystem = { filesystem = {
window = {
mappings = {
["Z"] = "expand_all_nodes",
["<tab>"] = "toggle_node",
},
},
filtered_items = { filtered_items = {
hide_dotfiles = false, hide_dotfiles = false,
}, },