-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
37 lines (31 loc) · 1.14 KB
/
.tmux.conf
File metadata and controls
37 lines (31 loc) · 1.14 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
unbind C-b
set -g prefix `
bind-key ` last-window
bind-key e send-prefix
set -g mouse on
set -s escape-time 0
set -g status-interval 0
set -g status-position bottom
set -g status-bg colour234
set -g status-fg colour137
set -g status-left ''
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
set -g repeat-time 0
setw -g mode-keys vi
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
set-option -g history-limit 5000
# copy-paste to universal clipboard
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind r \
move-window -r\; \
display-message "Windows reordered..."
# Resize windows (Option/Alt + keys)
bind -n M-j resize-pane -D 2
bind -n M-k resize-pane -U 2
bind -n M-h resize-pane -L 2
bind -n M-l resize-pane -R 2