more neovim tree

This commit is contained in:
cmccay 2022-12-26 17:22:31 -06:00
parent bb635eb45a
commit b6a16087a2
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
require("neo-tree").setup({
close_if_last_window = true,
filesystem = {
filtered_items = {
hide_dotfiles = false
}
},
window = {
width = 40
}
})

View File

@ -51,6 +51,7 @@ keymap("n", "<C-d>", "<C-d>zz", default_ops)
keymap("n", "<C-u>", "<C-u>zz", default_ops)
keymap("n", "n", "nzzzv", default_ops)
keymap("n", "N", "Nzzzv", default_ops)
keymap("n", "G", "Gzz", default_ops)
-- Yank to system clipboard
keymap("n", "<leader>y", [["+y]], default_ops)
@ -65,3 +66,4 @@ keymap('n', '<Leader>gg', ':LazyGit<CR>', default_ops)
-- File Explorer
keymap('n', '<Leader>e', ':NeoTreeShowToggle<CR>', default_ops)