summaryrefslogtreecommitdiff
path: root/.tmux.conf
blob: ac22b132d454078c281f72d36c78088ed8349c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
set -g default-command "${SHELL}"

set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",foot:Tc"
set -sg escape-time 25

set -g allow-rename on
set -g set-titles on
set -g set-titles-string "#T"

set -g status-bg "black"
set -g status-style "bold"

setw -g window-status-format "#[fg=grey] #I #W "
setw -g window-status-current-format "#[fg=black]#[bg=#8888CC] #I #W "

set -g status-left ""
set -g status-right "#[fg=black]#[bg=green] [#(battery)] [%Hh%M/%y.%m.%d] "

unbind C-t
unbind C-b
set -g prefix C-t

bind t send-prefix

bind C-t last-window

unbind x
bind x lock-server

unbind c
bind c new-window

unbind " "
bind " " next-window

unbind BSpace
bind BSpace previous-window

unbind A
bind A command-prompt "rename-window %%"

unbind w
bind w list-windows

unbind k
bind k confirm-before "kill-window"

unbind l
bind l refresh-client

unbind |
bind | split-window

unbind '"'
bind '"' choose-window