Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion lua/recipes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,24 @@ return {
},
},
},
}

-- ## Multiplexer support (e.g. tmux, wezterm)
--
-- Allows you to seamlessly navigate between neovim and different terminal multiplexers.
--
-- Requires adding [these](https://github.com/numToStr/Navigator.nvim/wiki/Tmux-Integration) changes to your tmux config.
{
"numToStr/Navigator.nvim",
config = function()
require("Navigator").setup({
disable_on_zoom = true,
})
end,
keys = {
{ "<C-h>", "<CMD>NavigatorLeft<CR>", mode = { "n", "t" } },
{ "<C-l>", "<CMD>NavigatorRight<CR>", mode = { "n", "t" } },
{ "<C-k>", "<CMD>NavigatorUp<CR>", mode = { "n", "t" } },
{ "<C-j>", "<CMD>NavigatorDown<CR>", mode = { "n", "t" } },
{ "<C-\\>", "<CMD>NavigatorPrevious<CR>", mode = { "n", "t" } },
},
}