dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit dfc17d7f12520f8393a516b3b7b64daee313b34a
parent 17dcab21666a8d73dac96905a8acf97aeb77c70f
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Thu, 31 Dec 2020 12:40:15 +0100

tmux: add youtube search binding

Diffstat:
Mtmux/tmux-dark.conf | 3+++
Mtmux/tmux-light.conf | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tmux/tmux-dark.conf b/tmux/tmux-dark.conf @@ -60,6 +60,9 @@ bind C new-session # Tmux clipboard to system clipboard bind Y run-shell "tmux show-buffer | clc" \; display-message "Tmux clipboard -> System clipboard" + +# Search youtube +bind-key -T copy-mode-vi 'u' send-keys -X copy-selection \; new-window -n youtube \; send-keys -t youtube 'pipe-viewer "$(tmux show-buffer)" && tmux kill-window' 'Enter' # }}} # Windows {{{ diff --git a/tmux/tmux-light.conf b/tmux/tmux-light.conf @@ -59,6 +59,9 @@ bind C new-session # Tmux clipboard to system clipboard bind Y run-shell "tmux show-buffer | clc" \; display-message "Tmux clipboard -> System clipboard" + +# Search youtube +bind-key -T copy-mode-vi 'u' send-keys -X copy-selection \; new-window -n youtube \; send-keys -t youtube 'pipe-viewer "$(tmux show-buffer)" && tmux kill-window' 'Enter' # }}} # Windows {{{