Sunday, April 28, 2024
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 5029  / 3 Years ago, fri, august 20, 2021, 7:07:11

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-left


in .tmux.conf or .byobu/keybindings.tmux without success.



Anyone has a suggestion on how to fix it?


More From » shortcut-keys

 Answers
5

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-Left


And then press F5 to reload your profile.



Full Disclosure: I am the author and maintainer of Byobu.


[#30022] Sunday, August 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
measord

Total Points: 259
Total Questions: 131
Total Answers: 106

Location: Venezuela
Member since Sun, Oct 2, 2022
2 Years ago
;