From 04e0d234d6e2b3db4ae6a7230396c49e1b9fee58 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Fri, 25 Feb 2022 23:26:49 -0500 Subject: [PATCH] tmux: For git-grep plumb hotkey, highlight whole line This just provides a more consistent UI feel / less jarring colors. --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 00d0177..6b4b02a 100644 --- 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!) -- libgit2 1.1.1