-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
78 lines (63 loc) · 2.3 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
unbind C-b
set -g prefix C-s
bind a send-prefix
# bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
bind | split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# set -g window-size latest
# setw -g aggressive-resize on
bind r source-file ~/.tmux.conf;
# set-hook -g after-kill-pane 'select-layout -E'
# set-hook -g pane-exited 'select-layout -E'
# set-hook -g window-pane-changed 'select-layout -E'
# set-hook -g client-resized 'select-layout -E'
set -g mouse on
set -g default-terminal "screen-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set-option -g status-position bottom
set-option -g status on
set-option -g renumber-windows on
set -g pane-border-lines "single"
set -s escape-time 1
set -g base-index 0
set -g pane-active-border-style "bg=default,fg=colour233"
set -g pane-border-style "bg=default,fg=colour235"
# Some hacks for OSX Alacritty audio bell
set -g monitor-bell on
set -g bell-action other
set-hook -g alert-bell 'run-shell "afplay /System/Library/Sounds/Funk.aiff"'
set -g focus-events on
#set-hook -g pane-focus-out 'select-pane -P bg=colour235,fg=colour10'
#set-hook -g pane-focus-in 'select-pane -P bg=default,fg=default'
# set-hook -g pane-focus-out 'select-pane -P bg=colour233,fg=colour10'
# set-hook -g pane-focus-out 'select-pane -P bg=colour233,fg=default'
# set-hook -g pane-focus-in 'select-pane -P bg=default,fg=default'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'jimeh/tmuxifier'
set -g @plugin 'christoomey/vim-tmux-navigator'
# set -g @plugin 'arcticicestudio/nord-tmux'
run-shell "~/my-status-bar.tmux"
# set -g @plugin 'erikw/tmux-powerline'
# Not working :/
# set -g @plugin 'b0o/tmux-autoreload'
# set -g @tmux-autoreload-entrypoints '~/.tmux.conf'
# Powertab
# set -g @plugin 'jabirali/tmux-powertab'
# set -g @powertab-powerline 'on'
# set -g @powertab-pathname on
# set -g @powertab-foreground '#1d1d1d'
# Power
# set -g @plugin 'wfxr/tmux-power'
# set -g @tmux_power_theme '#1000001'
run '~/.tmux/plugins/tpm/tpm'