| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- set -g default-terminal "xterm-256color"
- set -g display-panes-time 5000
- set -s set-clipboard off
- set -g history-limit 10000
- # Set vi key binding, and add the standard v and y
- setw -g mode-keys vi
- bind -T copy-mode-vi v send-keys -X begin-selection
- bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'xargs echo -n | pbcopy'
- # Unbind enter to copy, use y like normal people
- unbind -T copy-mode-vi Enter
- bind '"' split-window -c "#{pane_current_path}"
- bind % split-window -h -c "#{pane_current_path}"
- bind C new-window -c "#{pane_current_path}"
- bind r source-file ~/.tmux.conf
- # Vim keys for navigation between panes
- bind h select-pane -L
- bind j select-pane -D
- bind k select-pane -U
- bind l select-pane -R
- # Styling
- set-option -g status-bg black
- set-option -g status-fg white
- set-option -g mode-style "bg=blue, fg=black"
- set-option -g message-style "bg=blue, fg=black"
- set-option -g message-command-style "bg=blue, fg=black"
- set-option -g pane-active-border-style "fg=colour8"
- set-option -g pane-border-style "fg=colour8"
- set-option -g pane-active-border-style "fg=white"
- set-option -g window-status-separator "#[fg=grey] | "
- # Left components
- set-option -g status-left-length 20
- set-option -g status-left "#[bg=black] "
- # Right components
- set-option -g status-right-length 50
- set-option -g status-right "#[fg=grey] %Y-%m-%d %H:%M "
- # Window list style
- set-window-option -g window-status-format "#[fg=grey]#I: #W"
- set-window-option -g window-status-current-format "#[fg=blue]#I: #W"
- set-window-option -g window-status-activity-style "bg=black, fg=colour8, italics"
- set-window-option -g window-status-bell-style "bg=black, fg=colour8, italics"
|