Skip to content

Instantly share code, notes, and snippets.

@mexelout
Last active March 22, 2021 12:36
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 mexelout/ebddd0cd16fed180bae36aee1ad74c55 to your computer and use it in GitHub Desktop.
Save mexelout/ebddd0cd16fed180bae36aee1ad74c55 to your computer and use it in GitHub Desktop.
tmux configuration
set -g prefix C-t
unbind C-b
set -sg escape-time 0
set -g base-index 1
setw -g pane-base-index 1
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind C-h select-pane -L
bind C-j select-pane -D
bind C-k select-pane -U
bind C-l select-pane -R
bind C-n next-window
bind C-p previous-window
set -g default-terminal "screen-256color"
set -g terminal-overrides 'xterm:colors=256'
set -g status-fg white
set -g status-bg black
setw -g window-status-style fg="cyan",bg="default","dim"
setw -g window-status-current-style fg="white",bg="red","bright"
set -g message-style fg="white",bg="black","bright"
set-option -g status-interval 1
set -g status-right "#[fg=cyan][%Y-%m-%d(%a) %H:%M]"
set-option -g history-limit 100000
setw -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment