commit 62063fedeadae79ceea5c7fc6314bda8824bda09 (patch) parent 21e82b63448fd265bd01a499a1968ac5720ea3e1 Author: Alex Karle <alex@karle.co> Date: Fri, 18 Oct 2019 09:12:38 -0400 tmux: add keybinding to find file paths in scrollback Just like GoToHTML, this is super useful to quickly jump to a long location without having to retype it. Diffstat:
M | tmux/tmux.conf | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/tmux/tmux.conf b/tmux/tmux.conf @@ -48,6 +48,8 @@ bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipbo 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 +bind P copy-mode \; send -X search-backward "/" \; send -X begin-selection \; send -X next-space-end \; send -X other-end \; send -X previous-space +bind -T copy-mode-vi P send -X clear-selection \; send -X start-of-line \; send -X search-again \; send -X begin-selection \; send -X next-space-end \; send -X other-end \; send -X previous-space #-------# # THEME #