-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
56 lines (41 loc) · 1.15 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
# tmux plugin
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
## automatic session restore
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
## tmux-spotify
set -g @plugin 'robhurring/tmux-spotify'
## clipboard
set -g @plugin 'tmux-plugins/tmux-yank'
run -b '~/.tmux/plugins/tpm/tpm'
# end tmux plugin
# tmux continuum
set -g @continuum-restore 'on'
# unbind default prefix and set it to Ctrl+a
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# pane movement shortcuts
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Resize pane shortcuts
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
# increase scrollback buffer size
set -g history-limit 50000
# Start window and pane index from 1 instead of 0.
set -g base-index 1
setw -g pane-base-index 1
# enable mouse support for switching panes/windows
setw -g mouse on
# synchronize all panes in a window
bind y setw synchronize-panes
set -g default-shell $SHELL
set -s set-clipboard on
# beautify tmux
source ~/.dotfiles/bin/tmux-theme.sh