Created
May 7, 2023 16:03
-
-
Save sayan3296/a3586f3f2bfaa35aaa2b3551c27da5f0 to your computer and use it in GitHub Desktop.
Basic tmux config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the prefix to Ctrl+a | |
set -g prefix C-a | |
# Remove the old prefix | |
unbind C-b | |
# Send Ctrl+a to applications by pressing it twice | |
bind C-a send-prefix | |
# use mouse and enable scrolling | |
set -g mouse | |
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'" | |
# scroll back buffer | |
set -g history-limit 100000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment