I have been using these settings for many years (around 12 years) on remote SSH sessions without any problems.
# Window navigation bind -n C-PPage prev bind -n C-NPage next bind -n C-S-PPage swap-window -t -1 bind -n C-S-NPage swap-window -t +1 But I have started using Linux as desktop OS relatively recently, and so I have had this problem for a couple of years, but thought I would eventually figure out what the problem is, but I still have not: PROBLEM: The second two settings, to move the windows in the statusbar work fine on remote SSH sessions, but when tmux is used locally, they don't. The windows get swapped as expected, but the other window becomes the current one, instead of the one that was current when the swap was initiated. Why does this happen? I am using Pop!_OS 20.04, which is based on Ubuntu and Alacritty as the terminal emulator, although this behaviour seems to work on any terminal. Thanks for any help that can be provided. -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/41a14582-ff8e-4a78-aab1-f8f21b4ada25n%40googlegroups.com.
