feat: added nerdtree and stuff
This commit is contained in:
parent
0de4c4c3be
commit
a5883567bb
|
@ -6,6 +6,7 @@ function M.setup()
|
|||
require("my.plugins.telescope").setup()
|
||||
require("my.plugins.treesitter").setup()
|
||||
require("my.plugins.comment").setup()
|
||||
require("my.plugins.nerdtree").setup()
|
||||
|
||||
-- Other unconfigured plugins
|
||||
require('nvim-autopairs').setup()
|
||||
|
|
10
dotfiles/neovim/lua/my/plugins/nerdtree.lua
Normal file
10
dotfiles/neovim/lua/my/plugins/nerdtree.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
local mapSilent = require("my.keymaps").mapSilent
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
-- Toggle nerdtree with Control-t
|
||||
mapSilent("n", "<C-t>", ":NERDTreeToggle<CR>")
|
||||
end
|
||||
|
||||
return M
|
|
@ -5,7 +5,8 @@ let
|
|||
name = "config-nvim";
|
||||
src = ../../dotfiles/neovim;
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
home-manager.users.adrielus.programs.neovim = {
|
||||
enable = true;
|
||||
package = pkgs.neovim-nightly;
|
||||
|
@ -44,7 +45,11 @@ in {
|
|||
nvim-treesitter # use treesitter for syntax highlighting
|
||||
startup-nvim # splash screen
|
||||
vim-devicons # nice looking icons
|
||||
nvim-web-devicons # fork of vim-devicons?
|
||||
plenary-nvim # async utility lib it seems?
|
||||
nerdtree # file tree
|
||||
nerdtree-git-plugin # show git status for files
|
||||
nerdtree-syntax-highlight # syntax hightlight files in the tree
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue