-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
81 lines (65 loc) · 2 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
74
75
76
77
78
79
80
81
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf \;display "config reloaded."
# start windows and panes at 1
set -g base-index 1
setw -g pane-base-index 1
# split panes with | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# switch panes with Alt+arrow
bind -r M-h select-pane -L
bind -r M-l select-pane -R
bind -r M-k select-pane -U
bind -r M-j select-pane -D
bind -r M-H resize-pane -L 5
bind -r M-L resize-pane -R 5
bind -r M-K resize-pane -U 5
bind -r M-J resize-pane -D 5
set-option -g allow-rename off
######################
### DESIGN CHANGES ###
######################
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set -g renumber-windows on
set -g set-titles on
# loud or quiet?
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none
# statusbar
set -g status-position bottom
set -g status-justify left
#set -g status-attr dim
set -g status-left ''
set -g status-right-length 50
set -g status-left-length 20
set -g status-right ""
set -g history-limit 50000
set-window-option -g mode-keys vi
#list-keys -t vi-copy
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'seebi/tmux-colors-solarized'
set -g @plugin 'laktak/extrakto'
set -g @colors-solarized 'dark'
# for vim
set -g @resurrect-strategy-vim 'session'
# 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 -b '~/.tmux/plugins/tpm/tpm'
bind-key C-Space run -b 'tmux-autocomplete'