-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
33 lines (25 loc) · 938 Bytes
/
.tmux.conf
File metadata and controls
33 lines (25 loc) · 938 Bytes
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
# Faster key repitition
set -s escape-time 0
# Extended keys for Shift+Enter, etc. (works with WezTerm's enable_kitty_keyboard)
set -s extended-keys on
set -as terminal-features 'xterm*:extkeys'
set -g default-terminal "tmux-256color"
# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
# NOTE: Comment below to enable iterm integration
setw -g aggressive-resize on
# Highlight active window
# set-window-option -g window-status-current-style bg=red
# set -g mode-style bg=red,fg=green,blink
# Turn on mouse support
set -g mouse on
# Vim bindings for splits and windows
bind-key v split-window -h
bind-key s split-window -v
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 vim shortcuts
setw -g mode-keys vi