-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
81 lines (63 loc) · 2.23 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
unbind C-b
unbind C-z
set-option -g prefix C-a
set-option -g history-limit 999999
set-option -sg escape-time 200
set-option -g focus-events on
set-option -g renumber-windows on
bind-key C-a send-prefix
bind-key C-z resize-pane -Z
set -g default-terminal "screen-256color"
set-option -sa terminal-overrides ',screen-256color:RGB'
set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
set -g status-keys vi
setw -g mode-keys vi
bind -T copy-mode-vi v send-keys -X begin-selection
if-shell -b 'echo $XDG_SESSION_TYPE | grep -q x11' "\
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard > /dev/null'"
if-shell -b 'echo $XDG_SESSION_TYPE | grep -q wayland' "\
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy'"
set -g display-time 4000
set -g base-index 1
setw -g pane-base-index 1
bind r source ~/.tmux.conf
unbind '"'
unbind %
bind | split-window -h
bind - split-window -v
bind c new-window -c '#{pane_current_path}'
bind -n C-M-n display-popup -E -w60% -h60% write_notes
bind -r H resize-pane -L 10
bind -r L resize-pane -R 10
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r C-h select-pane -L
bind -r C-j select-pane -D
bind -r C-k select-pane -U
bind -r C-l select-pane -R
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
set -g mouse off
set-window-option -g xterm-keys on
set -g @continuum-save-interval '15'
set -g @resurrect-strategy-nvim 'session'
set -g @tnotify-sleep-duration '10'
set -g @tnotify-verbose-msg 'Cmd:{#{pane_current_command}#} is finished in [#I]! '
set -g @tnotify-verbose 'on'
set -g @tmux_power_theme 'forest'
set -g @ssh-split-h-key '|'
set -g @ssh-split-v-key '-'
# set -g @ssh-split-strip-cmd 'true'
set -g @ssh-split-keep-cwd 'true'
# set -g @ssh-split-keep-remote-cwd 'true'
set -g @thumbs-reverse enabled
set -g @thumbs-unique enabled
run-shell ~/.dotfiles/tmux-power/tmux-power.tmux
run-shell ~/.dotfiles/tmux-resurrect/resurrect.tmux
run-shell ~/.dotfiles/tmux-continuum/continuum.tmux
run-shell ~/.dotfiles/tmux-notify/tnotify.tmux
run-shell ~/.dotfiles/tmux-thumbs/tmux-thumbs.tmux
run-shell ~/.dotfiles/tmux-cowboy/cowboy.tmux
run-shell ~/.dotfiles/tmux-ssh-split/ssh-split.tmux