2022-05-22 15:42:46 +02:00
|
|
|
local map = require("my.keymaps").map
|
2022-04-04 01:10:26 +02:00
|
|
|
|
|
|
|
local M = {}
|
|
|
|
|
|
|
|
-- For some reason the default mappings do not work for me
|
|
|
|
function M.setup()
|
|
|
|
vim.g.tmux_navigator_no_mappings = 1
|
|
|
|
|
2022-07-19 13:03:03 +02:00
|
|
|
map("n", "<C-h>", ":TmuxNavigateLeft<cr>")
|
|
|
|
map("n", "<C-j>", ":TmuxNavigateDown<cr>")
|
|
|
|
map("n", "<C-k>", ":TmuxNavigateUp<cr>")
|
|
|
|
map("n", "<C-l>", ":TmuxNavigateRight<cr>")
|
2022-04-04 01:10:26 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|