-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.tmux.conf
66 lines (53 loc) · 1.73 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
set -g default-shell /usr/bin/fish
set -g status on
set -g destroy-unattached on
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set -g mode-keys vi
set -g status-keys vi
set -g mouse on
set -g escape-time 0
set -g focus-events on
set -g history-limit 3000
set -g history-file ~/.tmux_history
set -g monitor-activity off
set -g visual-activity off
set -g base-index 1
set -g pane-base-index 1
set -g -w automatic-rename on
set -g renumber-windows on
set -g bell-action none
set -g status-position bottom
set -g status-interval 5
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
bind | split-window -h
bind - split-window -v
# selecting panes
bind-key -n C-Left select-pane -L
bind-key -n C-Right select-pane -R
bind-key -n C-Up select-pane -U
bind-key -n C-Down select-pane -D
# next and previous window
bind-key -n C-M-Right select-window -n
bind-key -n C-M-Left select-window -p
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
unbind-key '"'
unbind-key '%'
unbind-key '{'
unbind-key '}'
set -g @emulate-scroll-for-no-mouse-alternate-buffer "on"
set -g window-status-separator " "
set -g status-right-length 100
set -g status-left-length 100
set -g status-left " "
set -g status-right ""
set -g status-justify left
set -g status-style fg=white
set -g window-status-current-format "#I #[fg=white,bold] #{s|$HOME|~|;s|.*/||:pane_current_path} #(despell -cu #W)"
set -g window-status-format "#[fg=brightblack]#I #[fg=brightblack] #{s|$HOME|~|;s|.*/||:pane_current_path} #(despell -cu #W)"
set -g pane-border-style fg=#262626
set -g pane-active-border-style fg=white
run '~/.tmux/plugins/tpm/tpm'
run-shell '~/.tmux/plugins/tmux-logging/logging.tmux'