]> git.phdru.name Git - dotfiles.git/blobdiff - .tmux.conf
.profile, .shellrc: test $BASH_VERSION instead of $SHELL
[dotfiles.git] / .tmux.conf
index b59749017409c5c14a1ef7476249148b53352573..d7a47e5211fabcd50e0eea2561d13141b1d59144 100644 (file)
@@ -1,13 +1,3 @@
-# Set the command prefix to match GNU screen (CTRL+a)
-# set-option -g prefix C-a
-#
-# Use C-a C-a key to send prefix instead of the default
-# unbind-key C-b
-# bind-key C-a send-prefix
-#
-# <prefix> C-a for last-window
-# bind-key C-a last-window
-
 # Start window numbers at 1 to match keyboard order with tmux window order
 set-option -g base-index 1
 set-option -g pane-base-index 1
@@ -39,7 +29,7 @@ set-window-option -g clock-mode-colour black
 # Attempt to set the client terminal title
 set-option -g set-titles on
 # Terminal emulator window title
-set-option -g set-titles-string 'tmux #S.#I.#P #W #T' # session, window number, pane number, window name, title
+set-option -g set-titles-string 'tmux #S.#I.#P #T' # session, window number, pane number, title
 
 set-option -g message-bg black
 set-option -g message-fg white
@@ -69,10 +59,24 @@ set-option -g status-left '[#S.#I.#P]'
 
 # set-option -g status-interval 5
 # set-option -g status-right '%H:%M'
-set-option -g status-right '#T'
+set-option -g status-right ''
 
 # Increase scrollback lines
 set-option -g history-limit 1000
 
 # <prefix> R to reload config without restart
-bind-key R source-file ~/.tmux.conf
+bind-key R source-file ~/.tmux.conf \; display "Reloaded!"
+
+# Set the command prefix to match GNU screen (CTRL+a)
+# set-option -g prefix C-a
+#
+# Use C-a C-a key to send prefix instead of the default
+# unbind-key C-b
+# bind-key C-a send-prefix
+#
+# <prefix> C-a for last-window
+# bind-key C-a last-window
+
+# Use vertical and horizontal chars to split the screen
+bind-key | split-window -h
+bind-key - split-window -v