-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_tmux.conf
47 lines (34 loc) · 1.06 KB
/
dot_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
unbind C-b
set -g prefix C-t
bind-key C-t send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
unbind ^T
bind ^T select-pane -t :.+
# Better activity monitoring
setw -g monitor-activity on
set -g visual-activity on
# Leave windows open when the process exits
set -g remain-on-exit on
# Make respawning easier
bind-key R respawn-window
# Mouse Setup
set -g mouse on
# Splitting windows into panes with h and v
bind-key h split-window -v
bind-key v split-window -h
# Set up resize-pane keys
bind-key + resize-pane -D 3
bind-key / resize-pane -L 3
bind-key - resize-pane -U 3
bind-key * resize-pane -R 3
if-shell "uname | grep -q Darwin" "set -g status-right '#{battery_status_bg} Batt: #{battery_icon} #{battery_percentage} #{battery_remain} | %a %h-%d %H:%M '"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin "arcticicestudio/nord-tmux"
set -g @plugin 'tmux-plugins/tmux-battery'
run '~/.tmux/plugins/tpm/tpm'