vim-tmux-navigator(needs some work on bindings)
This commit is contained in:
@@ -17,6 +17,13 @@ M.general = {
|
||||
["n"] = {"nzz", "find next"},
|
||||
["N"] = {"Nzz", "find prev"},
|
||||
|
||||
-- navigation
|
||||
["<c-h>"] = {"<cmd> TmuxNavigateLeft<cr>", "window left" },
|
||||
["<c-j>"] = {"<cmd> TmuxNavigateDown<cr>", "window down" },
|
||||
["<c-k>"] = {"<cmd> TmuxNavigateUp<cr>", "window up" },
|
||||
["<c-l>"] = {"<cmd> TmuxNavigateRight<cr>", "window right" },
|
||||
["<c-\\>"] = {"<cmd> TmuxNavigatePrevious<cr>", "window previous" },
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,17 @@ local overrides = require "custom.configs.overrides"
|
||||
---@type NvPluginSpec[]
|
||||
local plugins = {
|
||||
|
||||
{
|
||||
"christoomey/vim-tmux-navigator",
|
||||
cmd = {
|
||||
"TmuxNavigateLeft",
|
||||
"TmuxNavigateDown",
|
||||
"TmuxNavigateUp",
|
||||
"TmuxNavigateRight",
|
||||
"TmuxNavigatePrevious",
|
||||
},
|
||||
lazy = false,
|
||||
},
|
||||
-- Override plugin definition options
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user