# HG changeset patch # User zegervdv # Date 1639394219 -3600 # Node ID 38b7afc9e49208cffa636468388b9bc02ecb25be # Parent 1403bfc694e4a7e96098979bb40217692ce6328e Add tmux plugins diff -r 1403bfc694e4 -r 38b7afc9e492 .chezmoiexternal.toml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.chezmoiexternal.toml Mon Dec 13 12:16:59 2021 +0100 @@ -0,0 +1,20 @@ +[".tmux/plugins/tmux-yank"] + type = "archive" + url = "https://github.com/tmux-plugins/tmux-yank/archive/master.tar.gz" + exact = true + stripComponents = 1 + refreshPeriod = "168h" + +[".tmux/plugins/tmux-better-mouse-mode"] + type = "archive" + url = "https://github.com/NHDaly/tmux-better-mouse-mode/archive/master.tar.gz" + exact = true + stripComponents = 1 + refreshPeriod = "168h" + +[".tmux/plugins/tmux-thumbs"] + type = "archive" + url = "https://github.com/fcsonline/tmux-thumbs/archive/master.tar.gz" + exact = true + stripComponents = 1 + refreshPeriod = "168h" diff -r 1403bfc694e4 -r 38b7afc9e492 dot_Brewfile --- a/dot_Brewfile Thu Dec 09 09:06:14 2021 +0100 +++ b/dot_Brewfile Mon Dec 13 12:16:59 2021 +0100 @@ -8,7 +8,6 @@ brew "mosh", args: ["HEAD"] brew "neovim", args: ["HEAD"] brew "ripgrep" -brew "rust" brew "scc" brew "universal-ctags/universal-ctags/universal-ctags", args: ["HEAD"] brew "fzf" @@ -16,3 +15,4 @@ brew "stylua" brew "shellcheck" brew "jq" +brew "tmux", args: ["HEAD"] diff -r 1403bfc694e4 -r 38b7afc9e492 dot_tmux.conf --- a/dot_tmux.conf Thu Dec 09 09:06:14 2021 +0100 +++ b/dot_tmux.conf Mon Dec 13 12:16:59 2021 +0100 @@ -133,6 +133,14 @@ run-shell ~/.tmux/plugins/tmux-better-mouse-mode/scroll_copy_mode.tmux run-shell ~/.tmux/plugins/tmux-yank/yank.tmux +run-shell ~/.tmux/plugins/tmux-thumbs/tmux-thumbs.tmux + +set -g @thumbs-osc52 0 +# Swap behaviour +set -g @thumbs-command 'tmux set-buffer -w -- {} && tmux paste-buffer && tmux display-message \"Copied {}\"' +set -g @thumbs-upcase-command 'tmux set-buffer -w -- {} && tmux display-message \"Copied {}\"' +set -g @thumbs-hint-fg-color red +set -g @thumbs-reverse enabled set -g word-separators " " bind -n C-DoubleClick1Pane if -F '#{m/r:^[^:]*:[0-9]+:,#{mouse_word}}' {