-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
57 lines (43 loc) · 1.33 KB
/
.tmux.conf
File metadata and controls
57 lines (43 loc) · 1.33 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
##### PREFIX #####
unbind C-b
set -g prefix `
bind ` send-prefix
##### PANE NAVIGATION #####
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
##### WINDOW / PANE MANAGEMENT #####
bind -r = last-window
bind v split-window -h -c "#{pane_current_path}"
bind n split-window -v -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
##### REPEAT & INPUT #####
set -g repeat-time 0
set -g mouse on
##### VI MODE #####
set -g status-keys vi
setw -g mode-keys vi
##### CLIPBOARD (X11 via xclip) #####
set -g set-clipboard off
bind -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard"
##### HISTORY #####
set -g history-limit 50000
##### STATUS BAR #####
set -g status-style fg=white,bg=black
##### ACTIVITY #####
setw -g monitor-activity on
##### PANE BORDERS #####
set -g pane-border-style fg=black
set -g pane-active-border-style fg=black
set -g window-style 'fg=colour244,bg=default'
set -g window-active-style 'fg=colour255,bg=default'
##### RESIZE PANES (ALT + hjkl) #####
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
##### MISC #####
bind -n C-k clear-history
bind r source-file ~/.tmux.conf \; display-message "Config reloaded!"