How to make navigation work with alexghergh/nvim-tmux-navigation #63
pogopaule
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It took me a while to figure out how to make my navigation work again.
Add mode
tto the list of modes. This is what my config looks like now.I hope this saves someone a few minutes of research.
{ "alexghergh/nvim-tmux-navigation", keys = { { "<C-h>", "<CMD>lua require('nvim-tmux-navigation').NvimTmuxNavigateLeft()<CR>", desc = "Tmux Left", mode = { "n", "v", "i", "t" }, }, { "<C-j>", "<CMD>lua require('nvim-tmux-navigation').NvimTmuxNavigateDown()<CR>", desc = "Tmux Down", mode = { "n", "v", "i", "t" }, }, { "<C-k>", "<CMD>lua require('nvim-tmux-navigation').NvimTmuxNavigateUp()<CR>", desc = "Tmux Up", mode = { "n", "v", "i", "t" }, }, { "<C-l>", "<CMD>lua require('nvim-tmux-navigation').NvimTmuxNavigateRight()<CR>", desc = "Tmux Right", mode = { "n", "v", "i", "t" }, }, }, config = true, },Beta Was this translation helpful? Give feedback.
All reactions