Skip to content

Instantly share code, notes, and snippets.

@forkloop
Created February 22, 2014 03:37
Show Gist options
  • Save forkloop/9148307 to your computer and use it in GitHub Desktop.
Save forkloop/9148307 to your computer and use it in GitHub Desktop.
tmux.conf
set -g default-terminal "screen-256color"
set -g prefix C-b
set -g base-index 1
# Split window
bind | split-window -h
bind - split-window -v
# Reload config file
bind r source-file ~/.tmux.conf \; display "Reloaded tmux.conf."
# Enable mouse scrolling
set -g mode-mouse on
# Status bar
set -g status-bg green
set -g status-fg white
set -g status-left ""
set -g status-right "#[fg=white]#(pwd)"
set-window-option -g window-status-current-bg red
# Resize pane
bind -r C-h resize-pane -L
bind -r C-j resize-pane -D
bind -r C-k resize-pane -U
bind -r C-l resize-pane -R
# Pane movement
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment