return { { -- integration with tmux config "alexghergh/nvim-tmux-navigation", config = function() local nvim_tmux_nav = require("nvim-tmux-navigation") nvim_tmux_nav.setup({ disable_when_zoomed = true, -- defaults to false }) vim.keymap.set( "n", "", nvim_tmux_nav.NvimTmuxNavigateLeft, { desc = "Move to the split to the left" } ) vim.keymap.set("n", "", nvim_tmux_nav.NvimTmuxNavigateDown, { desc = "Move to the split below" }) vim.keymap.set("n", "", nvim_tmux_nav.NvimTmuxNavigateUp, { desc = "Move to the split above" }) vim.keymap.set( "n", "", nvim_tmux_nav.NvimTmuxNavigateRight, { desc = "Move to the split to the right" } ) vim.keymap.set( "n", "", nvim_tmux_nav.NvimTmuxNavigateLastActive, { desc = "Move to the last active split" } ) vim.keymap.set("n", "", nvim_tmux_nav.NvimTmuxNavigateNext, { desc = "Move to the next split" }) end, }, }