Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

tmux how to scroll in history

# Short answer:
# to use the mouse, add this to your ~/.tmux.conf file
set -g mouse on

# Long answer (shamelessly recycled from Dennis Williamson):
# You can use your normal navigation keys (e.g. Up Arrow, PgDn, etc) to scroll
# in copy mode:
# 	Type Ctrl-b then [ to enter copy mode. Press q to quit copy mode

# Alternatively you can press Ctrl-b PgUp to go directly into copy mode and 
# scroll one page up

# If you've added "set-window-option -g mode-keys vi" to your .tmux.conf file,
# once in copy mode you can also scroll the page up/down line by line using
# Shift-k and Shift-j. Unshifted, the cursor moves instead of the page.

# Other vi/emacs navigation commands from the man page:

Function                     vi              emacs
--------                     --              -----
Top of history               g               M->
Bottom of history            G               M-<
Half page down               C-d             M-Down
Half page up                 C-u             M-Up
Next page                    C-f             Page down
Previous page                C-b             Page up
Scroll down                  C-Down or C-e   C-Down
Scroll up                    C-Up or C-y     C-Up
Go to line                   :               g
Search backward              ?               C-r
Search forward               /               C-s
Search again                 n               n
Search again in reverse      N               N
Comment

PREVIOUS NEXT
Code Example
Shell :: .gitignore not working visual studio 
Shell :: go update all packages 
Shell :: node-gyp error on windows 10 
Shell :: mac install pytorch 
Shell :: update yarn global 
Shell :: Untracked files: (use "git add <file..." to include in what will be committed) 
Shell :: sed get substring between two characters 
Shell :: check if xacro works ros 
Shell :: generating ssh key 
Shell :: sudoers nopasswd 
Shell :: cmd delete recursive 
Shell :: find max depth linux 
Shell :: brew install eb cli 
Shell :: git push set upstream 
Shell :: untar gzip file 
Shell :: evillimiter: command not found 
Shell :: git log --graph 
Shell :: ionic 4 install bootstrap 
Shell :: understand the user of git in terminal 
Shell :: change partition in cmd 
Shell :: how to screenshot ubuntu 20.04 
Shell :: ubuntu remove directory 
Shell :: bash remove newline from string 
Shell :: linux capitalize string using tr 
Shell :: git remove all local changes 
Shell :: ubuntu view disk space ec2 
Shell :: how to print the active user id in linux 
Shell :: git revert file to master 
Shell :: cent os mariadb remove complete 
Shell :: protoc command not found linux docker 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =