shell-things/conf/tmux.conf

34 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-08-10 16:44:10 +02:00
# Use UTF-8 (Copied from https://github.com/zanshin/dotfiles/blob/master/tmux/tmux.conf#L1 )
set -g utf8
set-window-option -g utf8 on
2011-10-29 10:03:56 +02:00
# Sets screen shortcuts (Copied from tmux faq)
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Sets status bar colours to black on white (copied from http://goo.gl/2V0Lz )
set -g status-bg black
set -g status-fg white
# Highlights active window with red background (copied from http://goo.gl/2V0Lz )
set-window-option -g window-status-current-bg red
# Shows current time on statusbar. ( Made better suitable for me from nyuszika7h's .tmux.conf http://nyuszika7h.dyndns.org/~nyuszika7h/.tmux.conf )
set -g status-right ' #[fg=yellow,bold]%Y-%m-%dT%H:%M%z#[fg=black,bold] #[fg=black,bold]'
2011-10-29 10:03:56 +02:00
# Sets automatic renaming of windows. (copied from comment by André Laszlo http://goo.gl/2V0Lz )
setw -g automatic-rename on
# Starts window numbering at 1 instead of 0 (in my keyboard, numbers are 1234567890)
set -g base-index 1
# Sets 0 as window 10 (in my keyboard, numbers are 1234567890)
bind-key 0 select-window -t :10
# Enables additional colours
2015-09-06 18:11:47 +02:00
# tmux-256color is in 2.1 and is required for italics. This seems to be
# ignored on older versions as my $TERM reported as screen-256color in my
# tests.
set -g default-terminal "tmux-256color"