I am trying to configure tmux to switch between windows using alt-left, alt-right sequences. This is what I have in my .tmux.conf
bind-key -n M-Left previous-window bind-key -n M-Right next-window
Unfortunately, it does not work. On my machine, alt-left and alt-right are associated with ^ [[1; 3D and ^ [[1; 3C respectively. I think I need to use terminfo override to tell tmux to use these sequences, but I have no idea how to do this. So any help would be appreciated.
Thanks!
source share