Skip to content

Instantly share code, notes, and snippets.

@orlandov
Created December 9, 2010 23:26
Show Gist options
  • Save orlandov/735501 to your computer and use it in GitHub Desktop.
Save orlandov/735501 to your computer and use it in GitHub Desktop.
Orlando's tmux config
set -g prefix C-a
set -g status-bg black
set -g status-fg default
set -g status-left-length 20
set -g status-left '#[fg=green]#H#[fg=default]'
set -g status-justify centre
set -gw window-status-format '#I#F#$ #W'
set -gw window-status-current-format '#[fg=red](#[fg=default]#I#F#[fg=yellow]⚡#[fg=default] #[fg=white]#W#[fg=default]#[fg=red])#[fg=default]'
set -g status-keys vi
set-window-option -g mode-keys vi
# screen ^C c
unbind ^C
bind ^C new-window
bind c
bind c new-window
# detach ^D d
unbind ^D
bind ^D detach
# Set the prefix to ^A.
unbind C-b
set -g prefix ^A
bind a send-prefix
# displays *
unbind *
bind * list-clients
# title A
unbind A
bind A command-prompt "rename-window %%"
# other ^A
unbind ^A
bind ^A last-window
# kill K k
unbind K
bind K confirm-before "kill-window"
unbind k
bind k confirm-before "kill-window"
# quit \
unbind \
bind \ confirm-before "kill-server"
# redisplay ^L l
unbind ^L
bind ^L refresh-client
unbind l
bind l refresh-client
# split -v |
unbind |
bind | split-window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment