aboutsummaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-06-20 16:26:49 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-06-20 16:26:49 +0200
commit6502fc6feb2b4aaafcbb8421892dc86aa7940432 (patch)
treec02ec82cce4c1a3e3d5aea96bd6e8fb47204aec9 /tmux.conf
parent64a1e8466b6281674afecdf67b959fb594884d85 (diff)
downloaddotfiles-6502fc6feb2b4aaafcbb8421892dc86aa7940432.tar.gz
Update tmux
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf22
1 files changed, 5 insertions, 17 deletions
diff --git a/tmux.conf b/tmux.conf
index dff5a95..f7e6529 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -1,37 +1,25 @@
1# Set window titles 1set -g default-terminal "screen-256color"
2set-window-option -g automatic-rename on 2set-window-option -g automatic-rename on
3set-option -g set-titles on 3set-option -g set-titles on
4set-option -sg escape-time 10
5set-option -g mouse off
6set-window-option -g mode-keys vi
4 7
5# Leader key
6set -g prefix M-x 8set -g prefix M-x
7
8# Send M+x to applications by pressing it twice
9bind M-x send-prefix 9bind M-x send-prefix
10 10
11# Start windows number @1 Instead of @0
12set -g base-index 1 11set -g base-index 1
13set-window-option -g pane-base-index 1 12set-window-option -g pane-base-index 1
14
15# Renumber windows when closing
16set -g renumber-windows on 13set -g renumber-windows on
17 14
18# Statusbar: purple bg and white fg.
19set -g status-bg '#480b8e' 15set -g status-bg '#480b8e'
20set -g status-fg '#ffffff' 16set -g status-fg '#ffffff'
21
22# Set inactive/active window styles.
23set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]" 17set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]"
24set -g window-style 'bg=#222222' 18set -g window-style 'bg=#222222'
25set -g window-active-style 'bg=#111111' 19set -g window-active-style 'bg=#111111'
26 20
27# Other settings
28set-option -sg escape-time 10
29set-option -g mouse off
30set-window-option -g mode-keys vi
31
32# Removes the double pressing. Fixes switching panes and pressing up right
33# after switching panes. Must have!
34bind-key Up select-pane -U 21bind-key Up select-pane -U
35bind-key Down select-pane -D 22bind-key Down select-pane -D
36bind-key Left select-pane -L 23bind-key Left select-pane -L
37bind-key Right select-pane -R 24bind-key Right select-pane -R
25