commit bf41fba4c64e3d99a7a770c02209d4edc6f683f5 (patch)
parent 23b940ce79f3007e7c14a9d6ead42d837419c93a
Author: Alex Karle <alex@karle.co>
Date: Wed, 17 Jul 2019 22:49:55 -0400
[tmux] add binding to search for urls in the scrollback
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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 #
#-------#