- Published on
Set scroll speed in Tmux
Tmux is one of the most useful tool when it comes to using using a linux terminal.
Tmux is a terminal multiplexer, it allows a user to access multiple terminals (or windows), each running a separate program, while providing a single screen to work on. Tmux is useful for running more than one command-line program at the same time, increasing productivity and the way you work.
~/.tmux.conf file using
vim or your preferred text editor.
Then, append the following config in the
set -g mouse on set-option -g status-keys vi set-window-option -g mode-keys vi bind-key -T copy-mode-vi WheelUpPane send-keys -X halfpage-up bind-key -T copy-mode-vi WheelDownPane send-keys -X halfpage-down
Now save the file. In case of
Let's say you have made changes to
tmux.conf file by adding or changing default config, you have to reload the config so that the changes reflects in your terminal. The command to reload config is called
You have to reload
tmux.conf so that it reflects-
tmux source-file ~/.tmux.conf
If you are inside a tmux session, you can run the command inside the tmux session to source the config file-
Ctrl-B : source-file ~/.tmux.conf
I hope you found this article useful, glad that you found it easy to reload or source config in Tmux. You can also check out the complete tmux cheatsheet of keyboard shortcuts and mouse shortcuts.