blob: ddb9fb6d97a0fcab7a2e32533e58b4b161180a21 (
plain)
1
2
3
|
#!/bin/sh
rg --vimgrep "$@" |
kak -c "${KAKOUNE_SESSION}" -e 'try %{db! *grep*}; rename-buffer *grep*; set-option window filetype grep; evaluate-commands -try-client %opt{toolsclient} %{ buffer *grep*; set-option window filetype grep }'
|