I've setup the alt + arrow keys bindings for changing tab in vim (in .vimrc):
map <silent><A-Right> :tabnext<CR>
map <silent><A-Left> :tabprevious<CR> this however does not work under byobu with tmux backend, I guess because it is remapped by byobu.
I tried setting:
unbind -n M-right
unbind -n M-leftin .tmux.conf or .byobu/keybindings.tmux without success.
Anyone has a suggestion on how to fix it?
2 Answers
You're so close! You're just missing the capitalization of "R" in M-Right and "L" in M-Left.
Just add the following to ~/.byobu/keybindings.tmux:
unbind -n M-Right
unbind -n M-LeftAnd then press F5 to reload your profile.
Full Disclosure: I am the author and maintainer of Byobu.
10If you cannot manage to disable specific keybindings, you can toggle Byobu's keybindings off/on using Shift+F12 – which is what I use a lot (e.g. to interact with Midnight Commander). I just miss a possibility to have the current status of that displayed in the status bar (are keybindings currently active – or have I turned them off?) – but that's a different issue ;)
2