-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux
52 lines (43 loc) · 1.32 KB
/
tmux
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
set -g default-terminal "tmux-256color"
#set -ga terminal-overrides "xterm*:XT:smcup@:rmcup@"
#set -ga terminal-overrides ",*256col*:Tc"
set -g status-style bg=default
set -g status-style fg=white
set -g status-left '#[fg=green]#H '
set -g status-right ''
set -g status-left-length 12
set -g status-right-length 70
set -g status-interval 30
set-window-option -g window-status-current-style fg=red
set-window-option -g mode-keys vi
set -sg escape-time 0
set -g history-limit 10000
set -g mouse on
# bind-key -t vi-copy v begin-selection
bind-key v setw synchronize-panes
# X clipboard
# bind-key -t vi-copy y copy-pipe "xsel -i -p -b"
# bind-key C-y run "xsel -o -b | tmux load-buffer - ; tmux paste-buffer"
# simple resizing
unbind Left
bind -r Left resize-pane -L 5
unbind Right
bind -r Right resize-pane -R 5
unbind Down
bind -r Down resize-pane -D 5
unbind Up
bind -r Up resize-pane -U 5
# titles
set -g set-titles on
set -g set-titles-string "#W.#T"
#set-option -g pane-border-style fg=colour8
unbind C-b
set-option -g prefix C-a
bind C-a send-prefix
bind a send-prefix
set-option -g pane-border-style fg=red
set-option -g pane-active-border-style fg=red
setw -g aggressive-resize
set-option -g default-shell /run/current-system/sw/bin/fish
set -g @fingers-skip-health-check '1'
run-shell ~/.tmux/plugins/tmux-fingers/tmux-fingers.tmux