From bf41fba4c64e3d99a7a770c02209d4edc6f683f5 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Wed, 17 Jul 2019 22:49:55 -0400 Subject: [PATCH] [tmux] add binding to search for urls in the scrollback --- tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 90e7587..26cbfe2 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -56,6 +56,10 @@ set allow-rename off # Patch for apps such as electron in tmux on osx # set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL" +# GoToHttp +bind H copy-mode\; send -X search-backward "http" \; send -X begin-selection \; send -X next-space-end +bind -T copy-mode-vi H send -X start-of-line \; send -X search-again \; send -X begin-selection \; send -X next-space-end + #-------# # THEME # #-------# -- libgit2 0.28.4