3

I am using tmux on a Raspberry Pi Zero W running Raspberry Pi OS. Every part of tmux seems to work with the exception of copy and paste. I can enter copy mode using Ctrl-b [, but I cannot get anything to highlight using Ctrl-Space or Space.

I do not have a ~/.tmux.conf file. echo $EDITOR returns a blank line. What might the problem be, and how might I fix it?

AdminBee
  • 22,803

1 Answers1

5

I was able to fix it by adding these two lines to .tmux.conf.

setw -g mode-keys vi
bind-key -T copy-mode-vi y send-keys -X copy-selection

It uses space to start selection and y to copy.