feat: add tmux.nvim

This commit is contained in:
Guz
2024-12-05 19:24:06 -03:00
parent dfae26ace8
commit 22d6f2a4ab
2 changed files with 13 additions and 0 deletions

View File

@@ -108,4 +108,16 @@ return {
})
end,
},
{
"tmux.nvim",
keys = {
{ "<C-h>", ":lua require('tmux').move_left()<cr>", "[Tmux] Move to left pane" },
{ "<C-j>", ":lua require('tmux').move_bottom()<cr>", "[Tmux] Move to bottom pane" },
{ "<C-k>", ":lua require('tmux').move_top()<cr>", "[Tmux] Move to top pane" },
{ "<C-l>", ":lua require('tmux').move_right()<cr>", "[Tmux] Move to right pane" },
},
after = function()
require("tmux").setup()
end,
},
}

View File

@@ -23,6 +23,7 @@
telescope-nvim
telescope-fzf-native-nvim
nvim-treesitter.withAllGrammars
tmux-nvim
];
foldPlugins = builtins.foldl' (acc: next: acc ++ [next] ++ (foldPlugins (next.dependencies or []))) [];