comparison dot_tmux.conf @ 505:38b7afc9e492

Add tmux plugins
author zegervdv <zegervdv@me.com>
date Mon, 13 Dec 2021 12:16:59 +0100
parents e4937efdf43e
children a1ff0b7b405b
comparison
equal deleted inserted replaced
504:1403bfc694e4 505:38b7afc9e492
131 set -g @scroll-without-changing-pane "on" 131 set -g @scroll-without-changing-pane "on"
132 set -g @emulate-scroll-for-no-mouse-alternate-buffer "on" 132 set -g @emulate-scroll-for-no-mouse-alternate-buffer "on"
133 133
134 run-shell ~/.tmux/plugins/tmux-better-mouse-mode/scroll_copy_mode.tmux 134 run-shell ~/.tmux/plugins/tmux-better-mouse-mode/scroll_copy_mode.tmux
135 run-shell ~/.tmux/plugins/tmux-yank/yank.tmux 135 run-shell ~/.tmux/plugins/tmux-yank/yank.tmux
136 run-shell ~/.tmux/plugins/tmux-thumbs/tmux-thumbs.tmux
137
138 set -g @thumbs-osc52 0
139 # Swap behaviour
140 set -g @thumbs-command 'tmux set-buffer -w -- {} && tmux paste-buffer && tmux display-message \"Copied {}\"'
141 set -g @thumbs-upcase-command 'tmux set-buffer -w -- {} && tmux display-message \"Copied {}\"'
142 set -g @thumbs-hint-fg-color red
143 set -g @thumbs-reverse enabled
136 144
137 set -g word-separators " " 145 set -g word-separators " "
138 bind -n C-DoubleClick1Pane if -F '#{m/r:^[^:]*:[0-9]+:,#{mouse_word}}' { 146 bind -n C-DoubleClick1Pane if -F '#{m/r:^[^:]*:[0-9]+:,#{mouse_word}}' {
139 run -C { popup -w90% -h90% -E -d '#{pane_current_path}' ' 147 run -C { popup -w90% -h90% -E -d '#{pane_current_path}' '
140 nvim `echo #{mouse_word}|awk -F: "{print \"+\"\\$2,\\$1}"` 148 nvim `echo #{mouse_word}|awk -F: "{print \"+\"\\$2,\\$1}"`