aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-12 00:48:03 -0300
committerEuAndreh <eu@euandre.org>2022-05-12 00:48:03 -0300
commita4c3bbc1092ca04d602b8aaf90172fe23517a774 (patch)
tree1dc0360d7e40430d0481dc104f1a5dea407e08c5
parent.config/tmux/tmux.conf: Source file from $XDG_CONFIG instead of ~/.tmux.conf (diff)
downloaddotfiles-a4c3bbc1092ca04d602b8aaf90172fe23517a774.tar.gz
dotfiles-a4c3bbc1092ca04d602b8aaf90172fe23517a774.tar.xz
.config/tmux/tmux.conf: Run `urlscan` on "C-v u"
-rw-r--r--.config/tmux/tmux.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 0eadf7c0..dd718cad 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -77,3 +77,5 @@ set -g display-panes-time 2500
bind-key t resize-pane -x 80
bind -n M-r attach-session -t . -c '#{pane_current_path}' \; display-message "CWD for session updated to #{pane_current_path}!"
+
+bind-key u capture-pane \; save-buffer /tmp/tmux-urlscan-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan < /tmp/tmux-urlscan-buffer"'