Skip to content

Instantly share code, notes, and snippets.

@virtualdreams
Last active June 9, 2022 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save virtualdreams/cec65c6a682aa1f866501e6d8aa8a238 to your computer and use it in GitHub Desktop.
Save virtualdreams/cec65c6a682aa1f866501e6d8aa8a238 to your computer and use it in GitHub Desktop.
tmux config
# 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