Created
March 27, 2017 14:04
-
-
Save cowens/7658b11ea23f7c013e74d4eaffc190c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setw -g clock-mode-style 24 | |
setw -g mode-keys vi | |
setw -g main-pane-width 120 | |
set -g set-clipboard off | |
set -s escape-time 50 | |
set -g status-keys vi | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
set -g history-limit 5000 | |
set -g status-bg green | |
set -g status-fg black | |
set -g status-interval 1 | |
set -g status-left "caelum/#S " | |
set -g status-right "%a %m/%d %H:%M:%S" | |
set -g renumber-windows on | |
set -g default-terminal "screen-256color" | |
set -g -q mouse off | |
bind -t vi-copy 'v' begin-selection | |
bind -t vi-copy 'y' copy-selection | |
bind -t vi-copy 'C-v' rectangle-toggle | |
bind -t vi-copy Escape cancel | |
# remove unused default bindings | |
unbind C-b | |
unbind '"' | |
unbind % | |
unbind l | |
unbind [ | |
unbind p | |
unbind ] | |
unbind v | |
unbind C-Left | |
unbind C-Right | |
unbind C-Up | |
unbind C-Down | |
# C-a should be the prefix | |
set -g prefix C-a | |
# changed bindings | |
bind-key C-a last-window #was l | |
bind-key - split-window #was " | |
bind-key | split-window -h #was % | |
bind-key Escape copy-mode #was [ | |
bind-key p paste-buffer #was ] | |
bind-key ] swap-pane -D | |
bind-key [ swap-pane -U | |
bind-key C-Left select-pane -L | |
bind-key C-Right select-pane -R | |
bind-key C-Up select-pane -U | |
bind-key C-Down select-pane -D | |
bind-key S-Left resize-pane -L | |
bind-key S-Right resize-pane -R | |
bind-key S-Up command-prompt "resize-pane -U %%" | |
bind-key S-Down command-prompt "resize-pane -D %%" | |
# new bindings | |
bind-key r source-file ~/.tmux.conf | |
bind-key a send-prefix | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment