Skip to content

Instantly share code, notes, and snippets.

@yankcrime
Last active June 25, 2018 09:16
Show Gist options
  • Save yankcrime/9ee85f8ff5dc9348b1afb82dfb60eed8 to your computer and use it in GitHub Desktop.
Save yankcrime/9ee85f8ff5dc9348b1afb82dfb60eed8 to your computer and use it in GitHub Desktop.
MVP tmux.conf
# use control+a as a prefix like screen
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
unbind %
bind | split-window -h
bind - split-window -v
bind-key space next-window
bind ^space last-window
bind-key k confirm kill-window
bind-key K confirm kill-server
bind , command-prompt "rename-window '%%'"
bind > run-shell "tmux rename-window `basename #{pane_current_path}`"
set -g status-keys vi
set -g base-index 1
set -g status-bg black
set -g status-fg white
set -g status-interval 1
setw -g window-status-current-fg colour231
setw -g window-status-current-attr bold
# just the hostname
set -g status-left ""
set -g status-right "#[fg=colour230,bold]#h "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment