Find file
5cee6a0 Dec 4, 2016
58 lines (47 sloc) 1.52 KB
unbind C-b
set -g prefix C-a
setw -g mode-keys vi
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
set-option -g default-command "reattach-to-user-namespace -l fish"
bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy" \; display "Copied to system from tmux clipboard"
bind C-v run "tmux set-buffer $(reattach-to-user-namespace pbpaste); tmux paste-buffer" \; display "Copied to tmux from system clipboard"
set -sg escape-time 1
bind r source-file ~/.tmux.conf
bind | split-window -h
bind - split-window -v
unbind C-p
unbind C-n
bind -r p select-window -t :-
bind -r n select-window -t :+
#set -g default-terminal "screen-256color"
set -g status-fg cyan
set -g status-bg blue
set -g status-left-length 40
set -g status-left "session: #S || window: #I || pane: #P"
set -g status-justify centre
set -g status-right "%d-%b %R"
setw -g window-status-fg white
setw -g window-status-bg cyan
setw -g window-status-attr dim
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
# set -g message-fg white
# set -g message-bg green
# set -g message-attr bright
set -g pane-border-fg white
set -g pane-active-border-fg cyan
set -g pane-active-border-bg cyan
setw -g monitor-activity on
set -g visual-activity on
bind-key a send-prefix
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r H resize-pane -L 5
bind -r L resize-pane -R 5
bind j select-pane -D
bind k select-pane -U
bind h select-pane -L
bind l select-pane -R