Skip to content

Instantly share code, notes, and snippets.

@shreydesai
Created January 25, 2018 20:22
Show Gist options
  • Save shreydesai/7bfcb017d01cd4ebb77f221e883c03f1 to your computer and use it in GitHub Desktop.
Save shreydesai/7bfcb017d01cd4ebb77f221e883c03f1 to your computer and use it in GitHub Desktop.
Tmux Config File
# Reload config
bind r source-file ~/.tmux.conf; display ' Reloaded'
# Colors
set -g default-terminal "screen-256color"
# Remaps leader
set-option -g prefix C-a
bind-key C-a last-window
# Pane navigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Window splits
bind-key v split-window -h
bind-key b split-window
# Mouse mode
set -g mouse on
# Panes
set -g pane-border-fg colour235
set -g pane-active-border-fg colour50
# Message
set -g message-bg colour228
# Status bar
set -g status-bg colour50
set -g status-fg black
set -g status-left '[#S:#P] #(whoami)@#H '
set -g status-left-length 40
set -g status-right 'Clients: #{session_attached} | %a %m/%d/%Y %I:%M%P '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment