Skip to content

Commit 0fffb7d

Browse files
authored
Add a multiplexer support recipe
- From a recent scan, Navigator.nvim is quite nice - It doesn't require any tmux config changes - It was the fastest plugin that I identifier - It's written in lua
1 parent eac44cd commit 0fffb7d

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

lua/recipes.lua

+19-1
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,22 @@ return {
131131
},
132132
},
133133
},
134-
}
134+
135+
-- ## Multiplexer support (e.g. tmux, wezterm)
136+
--
137+
-- Allows you to seamlessly navigate between neovim and different terminal multiplexers.
138+
{
139+
"numToStr/Navigator.nvim",
140+
config = function()
141+
require("Navigator").setup({
142+
disable_on_zoom = true,
143+
})
144+
end,
145+
keys = {
146+
{ "<C-h>", "<CMD>NavigatorLeft<CR>", mode = { "n", "t" } },
147+
{ "<C-l>", "<CMD>NavigatorRight<CR>", mode = { "n", "t" } },
148+
{ "<C-k>", "<CMD>NavigatorUp<CR>", mode = { "n", "t" } },
149+
{ "<C-j>", "<CMD>NavigatorDown<CR>", mode = { "n", "t" } },
150+
{ "<C-\\>", "<CMD>NavigatorPrevious<CR>", mode = { "n", "t" } },
151+
},
152+
}

0 commit comments

Comments
 (0)