Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

90 lines (71 sloc) 2.06 kb
# change default action key
set -g prefix C-q
unbind C-b
# use vi bindings
setw -g mode-keys vi
# moving between panes
bind-key j select-pane -D
bind-key k select-pane -U
bind-key h select-pane -L
bind-key l select-pane -R
bind-key -n M-j select-pane -D
bind-key -n M-k select-pane -U
bind-key -n M-h select-pane -L
bind-key -n M-l select-pane -R
bind-key -n M-H select-window -t :-
bind-key -n M-L select-window -t :+
# splitting panes
bind-key v split-window -h
bind-key -n M-v split-window -h
bind-key s split-window
bind-key -n M-s split-window
# killing panes and windows
bind-key q kill-pane
bind-key Q kill-window
bind-key -n M-q kill-pane
# utf8 support
set-window-option -g utf8 on
# turn off mouse support for native copy/paste and selection
set-option -g mode-mouse off
set -g mouse-resize-pane off
set -g mouse-select-pane off
set -g mouse-select-window off
# Use 10 000 lines of scrollback buffer
# Can't set to high since it is pre-allocated per window
set -g history-limit 10000
# Use xterm as TERM
set -g default-terminal "xterm"
# Start window and pane numbering with 1 instead of 0
set -g base-index 1
set -g pane-base-index 1
# Automatically renumber windows
set-option -g renumber-windows on
# --- colors (solarized dark)
# default statusbar colors
set -g status-bg black
set -g status-fg yellow
set -g status-attr default
# default window title colors
setw -g window-status-fg brightblue
setw -g window-status-bg default
# active window title colors
setw -g window-status-current-fg yellow
setw -g window-status-current-bg default
setw -g window-status-current-attr dim
# pane border
set -g pane-border-fg black
set -g pane-border-bg default
set -g pane-active-border-fg black
set -g pane-active-border-bg default
# command line/message text
set -g message-bg black
set -g message-fg yellow
# pane number display
set -g display-panes-active-colour yellow
set -g display-panes-colour brightblue
# clock
setw -g clock-mode-colour yellow
# --- end colors
# reload of the config file
unbind r
bind r source-file ~/.tmux.conf
Jump to Line
Something went wrong with that request. Please try again.