Skip to content

Instantly share code, notes, and snippets.

@danshan
Created Feb 6, 2016
Embed
What would you like to do?
.tmux.conf
#-- base --#
set -g prefix C-a
unbind C-b
set -g default-terminal "screen-256color"
set -g display-time 3000
set -g history-limit 10000
set -g base-index 1
set -g pane-base-index 1
set -s escape-time 0
#set -g status-keys vi
#setw -g mode-keys vi
#setw -g mode-mouse on
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
#set -g mouse-select-window on
#up
bind-key k select-pane -U
#down
bind-key j select-pane -D
#left
bind-key h select-pane -L
#right
bind-key l select-pane -R
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
#select last window
bind-key C-l select-window -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment