I had this problem when I had a typo in my .tmux.conf. It needed to say set-window-option -g mode-keys vi
but it said set-window-option -g mode-keys vim
. Of course, I did not have any keys bound for "copy-mode-vim".
If you recently switched versions of tmux from 1.x to 2.x, the tmux.conf syntax may have changed for you as well. You'd see errors on tmux startup if that is the case.
As a reference, if you're interested, I have the following working keybindings show up when using :list-keys
Puts you into copy mode with Ctrl+b PgUp
bind-key -T prefix PPage copy-mode -u
Uses PgUp and PgDn when already in copy-mode:
bind-key -T copy-mode NPage send-keys -X page-down
bind-key -T copy-mode PPage send-keys -X page-up
Used PgUp and PgDn when already in copy-mode-vi
bind-key -T copy-mode-vi NPage send-keys -X page-down
bind-key -T copy-mode-vi PPage send-keys -X page-up
Posting the output of C-b :list-keys
and your the contents of your ~/.tmux.conf
would help.
I have the same issue. The only way I've found to get around it is to use a program like autohotkey (I think that's the name of it -- my computer is at work) to send the correct key sequence and bind that to some other key sequence, like Ctrl--/Ctrl-+. It used to work but stopped for some reason, and I never went back to figure it out. It could be that I simply don't remember the correct key sequence to trigger it... – Joe Casadonte – 2014-07-17T01:09:35.350
IIRC, there are three keys to munge in this manner, the one to put you into Copy-mode (I think that's what it's called), then the Page-up/Page-down keys. – Joe Casadonte – 2014-07-17T01:10:42.753