-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
44 lines (33 loc) · 1.04 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
# Pauly's TMUX dot file
# This is awesome if you map your caps lock key to ctrl
set-option -g prefix C-a
bind-key C-a send-prefix
# Import visual settings
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# Start pane count at zero
set -g base-index 1
# Cycle easy, clockwise and c-clockwise
unbind n
bind-key -r n select-pane -t :.+
bind-key -r b select-pane -t :.-
unbind o
bind-key -r o next-window
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
# Use vi keys in searching and the likes, always :)
set -g mode-keys vi
bind -T copy-mode-vi 'v' send -X begin-selection
bind -T copy-mode-vi 'y' send -X copy-selection
set-option -g status-position top
bind-key -r H resize-pane -L 10
bind-key -r L resize-pane -R 10
bind-key -r K resize-pane -U 5
bind-key -r J resize-pane -D 5
bind-key -r h resize-pane -U 50 # Hide pane
bind-key -r s resize-pane -D 30 # Show
set-option -g history-limit 20000
set -s escape-time 0
source-file ~/.tmux-theme/tokyonight_night.tmux