1
Fork 0

feat: added nerdtree and stuff

This commit is contained in:
Matei Adriel 2022-02-07 13:39:08 +02:00
parent 0de4c4c3be
commit a5883567bb
3 changed files with 17 additions and 1 deletions

View file

@ -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()

View 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

View file

@ -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
];
};
}