summaryrefslogtreecommitdiff
path: root/cfg/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'cfg/.tmux.conf')
-rw-r--r--cfg/.tmux.conf16
1 files changed, 11 insertions, 5 deletions
diff --git a/cfg/.tmux.conf b/cfg/.tmux.conf
index fa4b430..0908378 100644
--- a/cfg/.tmux.conf
+++ b/cfg/.tmux.conf
@@ -10,12 +10,15 @@ bind C-Space send-prefix
set -g prefix2 '*'
bind '*' send-prefix
-# commodity
+# commodities
# splits
bind n split-window -h
bind v split-window -v
bind h split-window -h # same as '*n'
+set -g default-terminal "tmux-256color"
+set-option -ga terminal-overrides ",xterm-256color:Tc"
+
# navigation
bind h select-pane -L
bind j select-pane -D
@@ -46,13 +49,15 @@ set -g status-position bottom
set -g status-justify left
set -g status-style 'fg=red'
-set -g status-left ''
-set -g status-left-length 10
-
set -g status-right-style 'fg=red bg=black'
-set -g status-right '%Y-%m-%d %H:%M '
+set -g status-left " #S "
+set -g status-left-length 30
+set -g status-right " %Y-%m-%d %H:%M "
set -g status-right-length 50
+bind n split-window -h \; resize-pane -U 2
+bind v split-window -v \; resize-pane -U 2
+
setw -g window-status-current-style 'fg=red bg=black'
setw -g window-status-current-format ' #I #W #F '
@@ -75,3 +80,4 @@ bind -r 6 run "tmux select-window -t 6 2>/dev/null || tmux new-window -t 6 -n 6"
bind -r 7 run "tmux select-window -t 7 2>/dev/null || tmux new-window -t 7 -n 7"
bind -r 8 run "tmux select-window -t 8 2>/dev/null || tmux new-window -t 8 -n 8"
bind -r 9 run "tmux select-window -t 9 2>/dev/null || tmux new-window -t 9 -n 9"
+