summaryrefslogtreecommitdiffstats
path: root/tmux.conf
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-04-16 02:30:50 -0400
committerJesse Luehrs <doy@tozt.net>2018-04-16 02:30:55 -0400
commita9bbd66f5c91ab03915195e7c5a4b28576a663fc (patch)
tree23be1d417faa93824a83f2dd439c9eb0d36f1675 /tmux.conf
parent308191e23df1b55515df0d1e6b359535a201022e (diff)
downloadconf-a9bbd66f5c91ab03915195e7c5a4b28576a663fc.tar.gz
conf-a9bbd66f5c91ab03915195e7c5a4b28576a663fc.zip
simplify
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf2
1 files changed, 1 insertions, 1 deletions
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