diff --git a/lua/dot013/plugins/navigation.lua b/lua/dot013/plugins/navigation.lua index 29ad61a..846057c 100644 --- a/lua/dot013/plugins/navigation.lua +++ b/lua/dot013/plugins/navigation.lua @@ -108,4 +108,16 @@ return { }) end, }, + { + "tmux.nvim", + keys = { + { "", ":lua require('tmux').move_left()", "[Tmux] Move to left pane" }, + { "", ":lua require('tmux').move_bottom()", "[Tmux] Move to bottom pane" }, + { "", ":lua require('tmux').move_top()", "[Tmux] Move to top pane" }, + { "", ":lua require('tmux').move_right()", "[Tmux] Move to right pane" }, + }, + after = function() + require("tmux").setup() + end, + }, } diff --git a/neovim.nix b/neovim.nix index 3bf8f75..6f4e968 100644 --- a/neovim.nix +++ b/neovim.nix @@ -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 []))) [];