Skip to content

Instantly share code, notes, and snippets.

@haxpor
Created February 20, 2021 10:24
Show Gist options
  • Save haxpor/3273d548ff899b9dc6e01cf0b53bc80d to your computer and use it in GitHub Desktop.
Save haxpor/3273d548ff899b9dc6e01cf0b53bc80d to your computer and use it in GitHub Desktop.
My ~/.tmux.conf
# change prefix key to alt+a
set-option -g prefix M-a
# shorten the key repeat interval
set-option -g repeat-time 200
# to not lose the color when enter into tmux
set -g default-terminal "screen-256color"
# bind switching to panel with vim's motion keys
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
# make the active focused window clearer to the eye of users
set-option -g pane-active-border-style fg='#55FF55,bg=#44DD44'
set-option -g pane-border-style fg='#006600'
set-option -g window-style 'bg=black'
set-option -g window-active-style 'bg=black'
set-option -g status-style 'bg=#55AA55,fg=black'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment