-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
executable file
·88 lines (71 loc) · 2.14 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
82
83
84
85
86
87
# List of plugins
#set -g status-position top
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g mouse off
set -g @plugin 'dracula/tmux'
set -g @dracula-show-powerline true
set -g @dracula-fixed-location "Vancouver"
set -g @dracula-show-fahrenheit false
set -g @dracula-plugins "cpu-usage ram-usage weather"
set -g @dracula-show-flags true
set -g @dracula-left-icon-padding 0
set -g @dracula-show-left-icon window
set -g prefix C-a
unbind C-b
# reload config file
bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded!"
# User vim keybindings in copy mode
setw -g mode-keys vi
# paste using 'p'
unbind p
bind p paste-buffer
# active window title colors
set-window-option -g window-status-current-style fg=colour166,bg=default,bright # fg=orange
# pane border
set-option -g pane-border-style fg=colour235 #fg=base03
set-option -g pane-active-border-style fg=colour240 #fg=base01
set-option -g focus-events on
set -s escape-time 1
set -g base-index 1
setw -g pane-base-index 1
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind C-a send-prefix
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
bind H resize-pane -L 5
bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
set -g mouse on
bind m \
set -g mouse on \;\
display 'Mouse mode on'
bind M \
set -g mouse off \;\
display 'Mouse mode off'
set -g default-terminal "screen-256color"
set -g status-fg white
set -g status-bg black
setw -g monitor-activity on
set -g visual-activity on
bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; run-shell "$TERMINAL -e urlview /tmp/tmux-buffer"
set -g status-left-length 32
set -g status-right-length 150
set -g status-fg white
set -g status-bg colour234
set-option -g default-shell "/bin/bash"
set -g history-limit 4096
# Initialze TMUX plugin manager(keep this line at the very bottom of your
# tmux.conf)
run '~/.tmux/plugins/tpm/tpm'