Last active
December 19, 2015 00:59
-
-
Save kates/5873102 to your computer and use it in GitHub Desktop.
tmux conf
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
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
set-window-option -g mode-keys vi | |
set -g mode-mouse off | |
set -g mouse-select-pane off | |
set -g mouse-resize-pane off | |
set -g mouse-select-window off | |
set-option -g default-command "reattach-to-user-namespace -l bash" | |
unbind % | |
bind | split-window -h -c "#{pane_current_path}" | |
unbind '"' | |
bind - split-window -v -c "#{pane_current_path}" | |
unbind c | |
bind c new-window -c "#{pane_current_path}" | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
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 | |
set -g default-terminal "screen-256color" | |
set -g status-bg black | |
set -g status-fg white | |
setw -g window-status-fg colour14 | |
setw -g window-status-bg default | |
setw -g window-status-attr dim | |
setw -g window-status-current-fg white | |
setw -g window-status-current-bg default | |
setw -g window-status-current-attr bright | |
set-option -g pane-border-fg white | |
set-option -g pane-active-border-bg black | |
set-option -g pane-active-border-fg white | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
bind r source-file ~/.tmux.conf \; display "Settings reloaded!" | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :+ | |
bind-key -t vi-copy v begin-selection | |
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment