Skip to content

Commit

Permalink
nvim-tree.lua: add resize shortcuts and update source
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Jan 25, 2024
1 parent 68f9b15 commit 400285c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@

# Filetrees
nvim-tree-lua = {
url = github:kyazdani42/nvim-tree.lua;
url = github:nvim-tree/nvim-tree.lua;
flake = false;
};

Expand Down
3 changes: 3 additions & 0 deletions modules/filetree/nvimtreelua.nix
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ in
"<C-F>" = ":NvimTreeToggle<CR>";
"<C-s>" = ":NvimTreeFindFile<CR>";
"<leader>tr" = ":NvimTreeRefresh<CR>";
"<leader>tp" = ":NvimTreeResize +40<CR>";
"<leader>ts" = ":NvimTreeResize +10<CR>";
"<leader>tx" = ":NvimTreeResize -10<CR>";
};

vim.luaConfigRC = ''
Expand Down

0 comments on commit 400285c

Please sign in to comment.