This commit is contained in:
2025-09-18 11:35:56 +02:00
commit 2203d6075f
45 changed files with 935 additions and 0 deletions

8
shell/search.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# Usage: rgnvim KEYWORD
rg --vimgrep "$@" |
fzf --delimiter : --nth 1,2,3,4 \
--preview 'bat --style=numbers --color=always --highlight-line {2} {1}' |
awk -F: '{print $1, $2}' |
xargs -r sh -c 'nvim +"$1" "$0"'