how to scroll to beginning/end of scroll buffer in tmux? -
^b+page up/down scrolls up/down 1 page of scroll buffer, how scroll beginning ?
like wise end (besides pressing ^c kill scrolling)
this depends on binding of "mode-keys". if "set-option -g mode-keys emacs" (actually, default settings), can go beginning , end of buffer using corresponding emacs keys.
- enter copy mode using: ^b + [
- go beginning using: alt + shift + , (or, in emacs' notation: m-<)
similarly, going end achieved m->
how test
please note configuration in ~/.tmux.conf takes effect after tmux server restarts. when kill sessions , restart tmux.
in fact, however, there simpler way test: run following command @ command line:
tmux set-option -g mode-keys emacs
i don't think there way change 1 key. have choice to
tmux set-option -g mode-keys vi
you should able move around in copy mode using h j k l etc.
Comments
Post a Comment