-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdot_tmux.conf
75 lines (49 loc) · 1.36 KB
/
dot_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
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
67
68
69
70
71
72
73
74
75
set-option -sa terminal-overrides ",xterm*:Tc"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat'
run '~/.tmux/plugins/tpm/tpm'
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set-option -g focus-events on
# No longer needed due to zsh
# set-option -g default-shell zsh
# Use Ctrl-a, like Screen
set -g prefix C-a
unbind C-b
# Start counting from 1 for windows and panes
set -g base-index 1
set -g pane-base-index 1
bind C-a send-prefix
bind | split-window -h
bind - split-window -v
bind e detach
bind x kill-pane
bind & kill-window
set-option -g allow-rename off
#vim moves
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind r source-file ~/.tmux.conf \; display "Configuration reloaded!"
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
set -g monitor-activity off
set -g visual-activity off
bind-key * list-clients
setw -g automatic-rename
set-option -g set-titles on
set -g history-limit 10000
set -g status-keys vi
set -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
set -sg escape-time 0
unbind q
bind q confirm kill-session
bind Q confirm kill-server
unbind d
bind -r d resize-pane -D 5
bind -r u resize-pane -U 5
set-option -g status-position top
bind -n C-k clear-history