about summary refs log tree commit diff
path: root/tmux/.tmux.conf
blob: 5253f5d68190781edab6dba2a02664a3e5a3b7d4 (plain) (blame)
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
57
58
59
60
61
62
63
64
65
66
set -g default-terminal "screen-256color"

set -g history-limit 10000

set -g display-time 36000000
set -g escape-time 0

set -g base-index 1
set -g pane-base-index 1

set -g set-titles on

set -g automatic-rename on

set -g renumber-windows on

set -g monitor-activity on
set -g visual-activity off

set -g status-justify left
set -g status-position top

set -g status-left ""
set -g status-right ""

set -g detach-on-destroy off

set -g status-keys emacs
set -g mode-keys   vi

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

bind F1 select-pane -t 1
bind F2 select-pane -t 2
bind F3 select-pane -t 3
bind F4 select-pane -t 4
bind F5 select-pane -t 5
bind F6 select-pane -t 6
bind F7 select-pane -t 7
bind F8 select-pane -t 8
bind F9 select-pane -t 9

bind -r H resize-pane -L 10
bind -r J resize-pane -D 10
bind -r K resize-pane -U 10
bind -r L resize-pane -R 10

bind _ split-window -v
bind | split-window -h

bind -n M-F1 select-window -t 1
bind -n M-F2 select-window -t 2
bind -n M-F3 select-window -t 3
bind -n M-F4 select-window -t 4
bind -n M-F5 select-window -t 5
bind -n M-F6 select-window -t 6
bind -n M-F7 select-window -t 7
bind -n M-F8 select-window -t 8
bind -n M-F9 select-window -t 9

bind Tab last-window

bind c new-window -c "#{pane_current_path}"

Consider giving Nix/NixOS a try! <3