-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
56 lines (38 loc) · 1.44 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
# tmux prefix
unbind C-b
set -g prefix C-a
# if run as "tmux attach", create a session if one does not already exist
new-session -n $HOST
# tmux unable autorename
set-option -g allow-rename off
#vi key bindings in the copy mode
set-window-option -g mode-keys vi
# Support de la souris
set-option -g mouse on
# Scroll
bind -n WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
bind -n WheelDownPane select-pane -t= \; send-keys -M
bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M # CTRL speed up key
#bind -t vi-copy C-WheelUpPane halfpage-up
#bind -t vi-copy C-WheelDownPane halfpage-down
#PLUGINS PART
#theme
#set -g @themepack 'block/blue'
#set -g @themepack 'block/green'
#use the vimairline theme instead
source-file /home/dreaser/.tmux-status.conf
#if-shell "test -f ~/.tmux-status.conf" "source ~/.tmux-status.conf"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'christoomey/vim-tmux-navigator'
#not compatible with vimairline
#set -g @plugin 'jimeh/tmux-themepack'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'