-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
47 lines (36 loc) · 1.04 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
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# Unbind default
unbind C-b
# set prefix
set -g prefix `
bind ` send-prefix
set -g base-index 1
setw -g pane-base-index 1
# bind r to reload configuration
unbind r
bind r source-file ~/.tmux.conf\; display "Tmux configuration reloaded!"
# mouse support
*set -g mouse on
set -g default-terminal "rxvt-unicode-256color"
# renumerable
set -g renumber-windows on
# => Bindings
bind-key x kill-pane
unbind '
bind-key ' split-window -h
bind-key - split-window -v
new-session -A -s main
# => Pllugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# init TMP
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
set -g @resurrect-strategy-nvim 'session'
set -g @plugin 'seebi/tmux-colors-solarized'
set -g @colors-solarized 'dark'
run '~/.tmux/plugins/tpm/tpm'