-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
61 lines (49 loc) · 1.82 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
#### COLOUR (Solarized dark)
# set screen colours
set -g default-terminal "xterm-256color"
# Use arrow keys to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Use vim keys without prefix key to switch panes
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-k select-pane -U
bind -n M-j select-pane -D
# Pane resizing
bind M-j resize-pane -D 5
bind M-k resize-pane -U 5
bind M-h resize-pane -L 5
bind M-l resize-pane -R 5
# Mouse
setw -g mouse on
# # Scroll History
set -g history-limit 30000
# Allows us to use '<prefix>-a' <command> to send commands to a TMUX session inside
# # another TMUX session
bind a send-prefix
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# 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-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'jatap/tmux-base16-statusline'
# tmux-base16 conf
# set -g @base16-statusline 'main'
# set -g @base16-statusline-separator-session-name '@'
# set -g @base16-statusline-main-separator '|'
set -g status-right "#{prefix_highlight} #[fg=yellow]%H:%M:%S #[fg=white]#{@main_separator} #[fg=green]%d-%b-%y "
set -g @prefix_highlight_bg black
set -g @prefix_highlight_fg red
#set -g @prefix_highlight_prefix_prompt '<CHAR3>'
set -g @prefix_highlight_show_copy_mode 'on'
#set -g @prefix_highlight_copy_prompt '<CHAR4> '
set -g @prefix_highlight_copy_mode_attr "fg=red,bg=black,bold"
set -g @prefix_highlight_output_prefix ''
set -g @prefix_highlight_output_suffix ''
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'