-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
43 lines (32 loc) · 938 Bytes
/
.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
set -g history-limit 50000
set -g escape-time 0
set -g base-index 1
setw -g pane-base-index 1
set-option -g set-titles on
set-option -g set-titles-string '#T'
set -g renumber-windows on
set-option -g repeat-time 1000
# Reload config
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Split config
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# Make mice great again
set -g mouse on
# Required for Iterm2 color support
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color*:Tc"
# Multi monitor
set -g focus-events on
setw -g aggressive-resize on
set -g status-keys vi
setw -g mode-keys vi
# Rotate through panes
bind -r Tab select-pane -t :.+
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-logging'
unbind l
set -g @logging_key "l"
set -g @logging-path "$HOME/.tmux/logs/"
run -b '~/.tmux/plugins/tpm/tpm'