-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
63 lines (52 loc) · 1.53 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
# Set true color support
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
# Change prefix to ctrl-a
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix
# Vim-style pane navigation
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Simple splits
bind / split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# Resize with Alt+vim keys
bind -n M-h resize-pane -L 5
bind -n M-j resize-pane -D 5
bind -n M-k resize-pane -U 5
bind -n M-l resize-pane -R 5
# Basic settings
set -g mouse on
set -g base-index 1
set -g pane-base-index 1
set -g escape-time 0
set -g history-limit 50000
# Ultra minimal status bar with CPU
set -g status-style bg=default
set -g status-position bottom
set -g status-left ""
set -g status-right "#[fg=#666666]#{cpu_percentage} "
set -g status-interval 2
# Minimal window status - just numbers
set -g window-status-current-format "#[fg=#666666,bold]#I "
set -g window-status-format "#[fg=#333333]#I "
# Subtle pane borders
set -g pane-border-style fg=#1a1a1a
set -g pane-active-border-style fg=#333333
# Remove noise
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# Only needed plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'christoomey/vim-tmux-navigator'
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'