Mercurial > dotfiles
changeset 505:38b7afc9e492
Add tmux plugins
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 13 Dec 2021 12:16:59 +0100 |
parents | 1403bfc694e4 |
children | 36ba70d17fd6 |
files | .chezmoiexternal.toml dot_Brewfile dot_tmux.conf |
diffstat | 3 files changed, 29 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /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"
--- 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"]
--- 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}}' {