-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
73 lines (63 loc) · 1.65 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# vim: foldmethod=marker ts=2 sw=2
# general {{{
# i need my cute colors
set -g default-terminal "screen-256color"
# mouse?
set -g mouse on
set -sg escape-time 0
set -g focus-events on
set -g base-index 1
set -g pane-base-index 1
set-option -g allow-rename off
# make bells fuck off
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# }}}
# help my vim addiction {{{
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection
unbind -T copy-mode-vi MouseDragEnd1Pane
# }}}
# keymaps {{{
unbind C-b
set -g prefix C-a
bind-key C-a send-prefix
# some life-improvments
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'
bind Tab last-window
# change focus
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
# resizing panes
bind -r H resize-pane -L 2
bind -r J resize-pane -D 2
bind -r K resize-pane -U 2
bind -r L resize-pane -R 2
# }}}
# apperence {{{
set-option -g status-position top
# colors
set -g pane-border-style fg=colour240
set -g pane-active-border-style fg=colour39
set-window-option -g window-status-current-style fg=colour39
# status bar
set -g status-right ' #{?client_prefix,*,} #S '
set -g status-left ' '
set -g status-bg default
set -g status-fg colour254
set -g status-style fg=colour110
# }}}
# plugins {{{
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on'
run '~/.tmux/plugins/tpm/tpm'
# }}}