Skip to content
Browse files

Better window counting and colors

* Status bar colors updated
* Status bar content updated
* Use 'r' to reload tmux.conf
* Split open a new pane with C-W using 1/3 of real estate
  • Loading branch information...
1 parent b37b9fe commit 90d858afe48bf5e61bc999010f9ec4eee86e6d15 Adarsh Pandit committed
Showing with 27 additions and 0 deletions.
  1. +27 −0 tmux.conf
View
27 tmux.conf
@@ -20,3 +20,30 @@ set -g prefix C-a
# Cycle through panes using C-aa
unbind ^A
bind ^A select-pane -t :.+
+
+# Reload config using 'r'
+unbind r
+bind r source-file ~/.tmux.conf
+
+# Open a new pane on the right, 33% width
+unbind C-w
+bind C-w split-window -h -p 33
+
+# Windows renumbered if one closes
+set-option -g renumber-windows on
+
+# Count window numbers starting with 1
+set-option -g base-index 1
+
+# Status bar colors (can take a hex value)
+set -g status-bg '#333333'
+set -g status-fg '#aaaaaa'
+
+# Refresh status bar every second
+set -g status-interval 1
+
+# Set left-side status bar content
+set -g status-left '#[default][#S]'
+
+# Set right-side status bar content
+set -g status-right '#[default]%m-%d-%Y %H:%M '

0 comments on commit 90d858a

Please sign in to comment.
Something went wrong with that request. Please try again.