diff --git a/modules/home/all/neovim.nix b/modules/home/all/neovim/default.nix similarity index 97% rename from modules/home/all/neovim.nix rename to modules/home/all/neovim/default.nix index 9380e8b9..f44fe1de 100644 --- a/modules/home/all/neovim.nix +++ b/modules/home/all/neovim/default.nix @@ -10,6 +10,10 @@ in programs.nixvim = { enable = true; + imports = [ + ./nvim-tree.nix + ]; + # Theme colorschemes.rose-pine.enable = true; @@ -29,7 +33,6 @@ in }; plugins = { - # UI web-devicons.enable = true; lualine.enable = true; diff --git a/modules/home/all/neovim/nvim-tree.nix b/modules/home/all/neovim/nvim-tree.nix new file mode 100644 index 00000000..a4ccb368 --- /dev/null +++ b/modules/home/all/neovim/nvim-tree.nix @@ -0,0 +1,9 @@ +{ + plugins.nvim-tree.enable = true; + keymaps = [ + { + action = "NvimTreeToggle"; + key = "ft"; + } + ]; +} diff --git a/modules/home/default.nix b/modules/home/default.nix index af2ec478..19c96210 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -2,7 +2,7 @@ home.stateVersion = "22.11"; imports = [ ./all/tmux.nix - ./all/neovim.nix + ./all/neovim # ./helix.nix ./all/ssh.nix ./all/starship.nix