|
|
@@ -1,6 +1,7 @@
|
|
|
-set -g default-terminal "screen-256color"
|
|
|
+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
|
|
|
@@ -12,3 +13,37 @@ 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"
|