-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_tmux.conf
More file actions
59 lines (46 loc) · 1.21 KB
/
dot_tmux.conf
File metadata and controls
59 lines (46 loc) · 1.21 KB
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
# Change prefix to Ctrl-a
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Split panes
unbind '"'
unbind %
bind s split-window -h
bind v split-window -v
# VIM keybindings
setw -g mode-keys vi
# Switch pane
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Resize pane
bind -r C-h resize-pane -L
bind -r C-j resize-pane -D
bind -r C-k resize-pane -U
bind -r C-l resize-pane -R
set-option -g base-index 1
set-window-option -g pane-base-index 1
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g status-keys vi
set -g history-limit 10000
# Activity monitoring
setw -g monitor-activity on
set -g visual-activity on
set -g bell-action any
# Force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Set escape key waiting time
set-option -s escape-time 10
# Enable true color support
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
# 🔌 Plugins
run -b '~/.tmux/plugins/tpm/tpm'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
set -g @plugin 'laktak/extrakto'
run '~/.tmux/plugins/tpm/tpm'