41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
#256 colors and utf8
|
|
set -g default-terminal "screen-256color"
|
|
#set-option -g status-utf8 on #DEPRECATED
|
|
#set-window-option -g utf8 on #DEPRECATED
|
|
|
|
#start window numbering at 1
|
|
set -g base-index 1
|
|
set-option -g renumber-windows on
|
|
|
|
#use screens modifier key
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
|
|
#fix left statusbar
|
|
set -g status-left-length 1000
|
|
|
|
#statusbar theming
|
|
set-window-option -g window-status-current-style bg=blue,fg=black
|
|
set-window-option -g window-status-format " #I #W "
|
|
set-window-option -g window-status-current-format " #I #W "
|
|
set -g status-style bg=terminal,fg=white
|
|
set -g status-left "#h #[fg=white,bold]|#[fg=green,bold] %H:%M #[fg=white,bold]| "
|
|
set -g status-right ""
|
|
|
|
#display date code "#[fg=white,bold]|#[fg=yellow] %d.%m.%Yi"
|
|
|
|
#quick reload
|
|
bind R source-file ~/.tmux.conf
|
|
|
|
#pane movement
|
|
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
|
|
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
|
|
|
|
#sizing
|
|
setw -g aggressive-resize on
|
|
|
|
#mouse support
|
|
set -g mouse on
|
|
#set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
|
|