From a4c3bbc1092ca04d602b8aaf90172fe23517a774 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 12 May 2022 00:48:03 -0300 Subject: .config/tmux/tmux.conf: Run `urlscan` on "C-v u" --- .config/tmux/tmux.conf | 2 ++ 1 file changed, 2 insertions(+) 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"' -- cgit v1.3