0

The current shortcut is Prefix ) and Prefix ( to switch between sessions.

I want to change it to Ctrl PageUp/PageDown, but I don't know what command should be executed when I pressed these keys.

I didn't find any command to override these default prefixes.

1

The command is switch-client with -n (next) and -p (previous) options.

bind -n C-PageUp switch-client -p
bind -n C-PageDown switch-client -n
1
  • 1
    Glad you found it. Don't forget to self-accept your answer - That will keep this from popping up again in the future. Thanks! Aug 26 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.