-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux.conf
40 lines (32 loc) · 835 Bytes
/
tmux.conf
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
new-session
setw -g mouse on
# remap prefix to C-t
set -g prefix C-t
unbind C-b
bind C-t send-prefix
# reload config
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# quick pane cycling
unbind ^T
bind ^T select-pane -t :.+
# Move between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-h select-pane -L
bind -r C-j select-pane -D
bind -r C-k select-pane -U
bind -r C-l select-pane -R
# Map C- counterparts of some window shortcuts
bind -r C-p select-window -t :-
bind -r C-n select-window -t :+
bind H resize-pane -L 5
bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5
set -g history-limit 30000
# neovim checkhealth suggestions
set -sg escape-time 10 # probably unnecessary since I use jk to exit insert mode
set -g focus-event on