1
Fork 0

feat: attempt to use nvim-tree instead

This commit is contained in:
Matei Adriel 2022-02-07 13:57:57 +02:00
parent a5883567bb
commit 68ceebb595
3 changed files with 16 additions and 4 deletions

View file

@ -6,11 +6,13 @@ function M.setup()
require("my.plugins.telescope").setup() require("my.plugins.telescope").setup()
require("my.plugins.treesitter").setup() require("my.plugins.treesitter").setup()
require("my.plugins.comment").setup() require("my.plugins.comment").setup()
require("my.plugins.nerdtree").setup() -- require("my.plugins.nerdtree").setup()
require("my.plugins.nvim-tree").setup()
-- Other unconfigured plugins -- Other unconfigured plugins
require('nvim-autopairs').setup() require('nvim-autopairs').setup()
require("startup").setup({theme = "dashboard"}) require("startup").setup({theme = "dashboard"})
require('lualine').setup({theme = "github"})
end end
return M return M

View file

@ -0,0 +1,11 @@
local mapSilent = require("my.keymaps").mapSilent
local M = {}
function M.setup()
require'nvim-tree'.setup()
-- Toggle nerdtree with Control-t
mapSilent("n", "<C-t>", ":NvimTreeToggle<CR>")
end
return M

View file

@ -47,9 +47,8 @@ in
vim-devicons # nice looking icons vim-devicons # nice looking icons
nvim-web-devicons # fork of vim-devicons? nvim-web-devicons # fork of vim-devicons?
plenary-nvim # async utility lib it seems? plenary-nvim # async utility lib it seems?
nerdtree # file tree lualine-nvim # customizable status line
nerdtree-git-plugin # show git status for files nvim-tree # file tree
nerdtree-syntax-highlight # syntax hightlight files in the tree
]; ];
}; };
} }