commit:     8adf254f4529fd5f2216e8630911f5999424daa7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  6 15:40:27 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep  6 15:40:27 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/mgorny-dev-scripts.git/commit/?id=8adf254f

vimgrep: Search all tabs, from the beginning of file

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 vimgrep | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vimgrep b/vimgrep
index c4da048..017e753 100755
--- a/vimgrep
+++ b/vimgrep
@@ -3,4 +3,4 @@
 # (c) 2025 Michał Górny <[email protected]>
 # SPDX-License-Identifier: GPL-2.0-or-later
 
-exec git grep -O"vim -p -c '/${1}'" "${@}"
+exec git grep -O"vim -p -c 'tabdo 1' -c 'tabdo /${1}' -c tabn" "${@}"

Reply via email to