-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
58 lines (43 loc) · 1.24 KB
/
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
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'jimeh/tmux-themepack'
# Perso
set -g prefix C-a
# Theme
set -g @themepack 'powerline/block/cyan'
# Prev / Next window like in screen
bind-key -r Space next-window
bind-key -r BSpace previous-window
# Copy mode keybindings
unbind p
bind p paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
# Relax!
set -sg repeat-time 600
# Copy mode with escape
bind Escape copy-mode
# Don't rename widow if the name is set manually
set-option -g allow-rename off
# Less stretching to get to the first item.
set -g base-index 1
setw -g pane-base-index 1
# forward the bell the the terminal
set -g bell-action any
set -g visual-bell off
setw -g xterm-keys on
set -g status-keys vi
setw -g mode-keys vi
# Activity
setw -g monitor-activity on
set -g visual-activity off
# Tmux sharing without resize
set -g window-size smallest
# Source local tmux conf if present
if-shell "[ -f ~/.tmux_local ]" 'source-file ~/.tmux_local'
# Load plugins
run '~/.tmux/plugins/tpm/tpm'