Last active
June 9, 2022 07:33
-
-
Save virtualdreams/cec65c6a682aa1f866501e6d8aa8a238 to your computer and use it in GitHub Desktop.
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
# change prefix to Ctrl+a | |
set-option -g prefix C-a | |
unbind-key C-b | |
bind-key C-a send-prefix | |
# enable mouse | |
set -g mouse on | |
# set history buffer | |
set -g history-limit 10000 | |
# set TERM | |
set -g default-terminal screen-256color | |
# toggle sync pane input "<prefix e>" | |
bind-key e setw synchronize-panes | |
# toggle last window "<prefix ctrl+a>" | |
bind-key C-a last-window | |
# move/swap windows | |
bind-key -r < swap-window -t -1\; select-window -t -1 | |
bind-key -r > swap-window -t +1\; select-window -t +1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment