Frage

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

  • within a simple shell, page up/down scroll using the terminal history/scrollbar
  • within tmux, page up/down make the escape command and use the tmux history navigation for the current window
  • within a pager/editor, page up/down scroll up/down use the pager/editor scroll function
War es hilfreich?

Lösung

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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top