Skip to content

Commit

Permalink
neovim: add nvim-tree
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 22, 2024
1 parent a238b7b commit bac6404
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ in
programs.nixvim = {
enable = true;

imports = [
./nvim-tree.nix
];

# Theme
colorschemes.rose-pine.enable = true;

Expand All @@ -29,7 +33,6 @@ in
};

plugins = {

# UI
web-devicons.enable = true;
lualine.enable = true;
Expand Down
9 changes: 9 additions & 0 deletions modules/home/all/neovim/nvim-tree.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
plugins.nvim-tree.enable = true;
keymaps = [
{
action = "<cmd>NvimTreeToggle<CR>";
key = "<leader>ft";
}
];
}
2 changes: 1 addition & 1 deletion modules/home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bac6404

Please sign in to comment.