From a9bbd66f5c91ab03915195e7c5a4b28576a663fc Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 16 Apr 2018 02:30:50 -0400 Subject: simplify --- tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.conf') diff --git a/tmux.conf b/tmux.conf index 727b94c..d889bcb 100644 --- a/tmux.conf +++ b/tmux.conf @@ -36,7 +36,7 @@ bind ^N new-window bind ^D detach-client bind ^[ copy-mode bind { copy-mode -bind Enter run 'tmux capture-pane -p | find-urls | tail -n1 | xargs xdg-open' +bind Enter run 'tmux capture-pane -p | perl -MURL::Search -E"say for URL::Search::extract_urls(do { local \$/; <> })" | tail -n1 | xargs xdg-open' unbind ^B -- cgit v1.2.3-54-g00ecf