commit 04e0d234d6e2b3db4ae6a7230396c49e1b9fee58 (patch)
parent 55aba39cc70d22a00f88a5584170bee0a8069bcb
Author: Alex Karle <alex@alexkarle.com>
Date: Fri, 25 Feb 2022 23:26:49 -0500
tmux: For git-grep plumb hotkey, highlight whole line
This just provides a more consistent UI feel / less jarring
colors.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -29,7 +29,7 @@ bind-key -T copy-mode-vi v send-keys -X begin-selection
# hotkeys to search for plumb-able content
bind-key H copy-mode \; send-keys -X search-backward "http[^ ]*"
bind-key S copy-mode \; send-keys -X search-backward "[a-f0-9]{6,40}"
-bind-key F copy-mode \; send-keys -X search-backward "[^ :]*:[^ ]*"
+bind-key F copy-mode \; send-keys -X search-backward "^[^ :@#]*:[0-9]*:.*"
bind-key P copy-mode \; send-keys -X search-backward "[^ :@#]*/[^:@# ]*"
# Use | and - for more intuitive splits (in the same location!)