linux - How to scroll through command history of tmux? -
linux - How to scroll through command history of tmux? -
c-b: gives tmux command prompt. there way scroll through commands entered on previously? arrow or ctrl p/n don't seem work.
up , down work in default (emacs) mode; if however, have set vi-mode
need either explicitly come in command mode (by pressing escape 1 time @ tmux's command prompt—ctrlb,:), or can create keybinds commands in .tmux.conf
, thereby removing need alter modes:
set -g status-keys vi bind-key -t vi-edit history-up bind-key -t vi-edit downwards history-down
tmux's default bindings can seen ctrlb,: , entering lsk -t vi-edit
. defaults are, in case:
bind-key -ct vi-edit history-up bind-key -ct vi-edit downwards history-down
note -ct
switch command mode.
linux terminal tmux
Comments
Post a Comment