Skip to content

Instantly share code, notes, and snippets.

@XueshiQiao
Created March 8, 2015 10:01
Show Gist options
  • Save XueshiQiao/b2708d068af55c238076 to your computer and use it in GitHub Desktop.
Save XueshiQiao/b2708d068af55c238076 to your computer and use it in GitHub Desktop.
.tmux.conf
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
#manmally reload config file:
#tmux source-file ~/.tmux.conf
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
set -g base-index 1
# Scroll history
set -g history-limit 30000
# set status bar
set -g status-justify left
set -g status-left ""
set -g status-right "#[fg=green] %m-%d-%Y %H:%M #(whoami) "
# highlight current windows in status bar
set-window-option -g window-status-current-bg blue
# Move around panes in vim style
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment