psychoslave
psychoslave

Reputation: 3031

In zsh within a tmux, how do you make page up/down scroll up/down

With my current zsh and tmux (byobu) configuration, typing the page up/down keys will enter ~ in the prompt. What I would like is that

Upvotes: 3

Views: 5899

Answers (1)

psychoslave
psychoslave

Reputation: 3031

Actually after some research it happens that my current configuration already provide all I need :

  • shift+<page up/down> will send the corresponding scroll command to the terminal
  • alt+<page up/down> will send the corresponding scroll command to tmux
  • <page up/down> will send the corresponding scroll command to the foreground process

Upvotes: 6

Related Questions