Created
February 8, 2017 17:09
-
-
Save milesrichardson/7f881fdf2104cf1435aba157df876959 to your computer and use it in GitHub Desktop.
tmux conf file for new servers
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
bind | split-window -h -c "#{pane_current_path}" | |
bind - split-window -v -c "#{pane_current_path}" | |
bind r source-file ~/.tmux.conf \; | |
#set -g default-terminal "screen-256color" | |
set -g history-limit 10000 | |
#set-window-option -g utf8 on | |
set -g utf8 | |
set -sg escape-time 1 | |
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 10 | |
bind -r J resize-pane -D 10 | |
bind -r K resize-pane -U 10 | |
bind -r L resize-pane -R 10 | |
# and use C-h and C-l to cycle thru panes | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :+ | |
set -g status-bg white | |
setw -g monitor-activity on | |
set -g visual-activity off | |
# set color for status bar | |
#set-option -g status-bg colour235 #base02 | |
#set-option -g status-fg yellow #yellow | |
#set-option -g status-attr dim | |
# set window list colors - red for active and cyan for inactive | |
set-window-option -g window-status-fg white #base0 | |
set-window-option -g window-status-bg green | |
#set-window-option -g window-status-attr dim | |
set-window-option -g window-status-current-fg white | |
set-window-option -g window-status-current-bg colour236 | |
set-window-option -g window-status-current-attr bright | |
# Setup vim style copy mode | |
setw -g mode-keys vi | |
bind Escape copy-mode | |
bind p paste-buffer | |
bind -t vi-copy v begin-selection | |
bind -t vi-copy y copy-selection | |
bind -t vi-copy V rectangle-toggle | |
bind -t vi-copy Y copy-end-of-line | |
bind + delete-buffer | |
bind c new-window -c "#{pane_current_path}" | |
bind k confirm-before kill-window | |
unbind r | |
bind r source-file ~/.tmux.conf | |
set-option -g renumber-windows on | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment