dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit a7829dd7fe4b6e810c0220c11d613cbe69a51b68
parent c93a7b26ab820b098ab571c5e0339d50d1678216
Author: Dionysis Grigoropoulos <info@erethon.com>
Date:   Thu,  9 Oct 2014 22:27:45 +0300

tmux: Use 256colors, update title, count from 1

* Set TERM to 'screen-256color'
* Start counting windows and panes from 1 instead of 0
* Set title of terminal to "user@hostname -- session_name"

Diffstat:
.tmux.conf | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -8,7 +8,7 @@ setw -g mode-keys vi # Rename terminals set -g set-titles on -set -g set-titles-string '#(whoami)::#h' +set -g set-titles-string '#(whoami)@#h -- #S' # Shortcut to reload tmux config file bind r source-file ~/.tmux.conf @@ -21,7 +21,6 @@ set -g status-interval 60 set -g status-left-length 90 set -g status-right-length 60 set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=yellow]#h" - set -g status-justify left set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R' @@ -34,3 +33,10 @@ unbind-key h bind-key h select-pane -L unbind-key l bind-key l select-pane -R + +# Set TERM to screen-256color +set -g default-terminal "screen-256color" + +# Start counting windows/panes from 1 and not 0 +set -g base-index 1 +set -g pane-base-index 1