aboutsummaryrefslogtreecommitdiff
path: root/autoload/grep.kak
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/grep.kak')
-rw-r--r--autoload/grep.kak4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/grep.kak b/autoload/grep.kak
index cef77ee..13a44bd 100644
--- a/autoload/grep.kak
+++ b/autoload/grep.kak
@@ -1,11 +1,11 @@
set-option global grepcmd "rg -S --vimgrep --hidden -g '!**/.git/**'"
-map global file g ':grep ' -docstring 'Grep'
+map global file g ":grep ''<left>" -docstring 'Grep'
define-command grep-write %{
execute-keys '%' # Consider selecting manually
evaluate-commands %sh{
- echo "$kak_selections" | "$kak_config/scripts/apply_vimgrep_updates.js" | xargs -i echo "info '{}'"
+ echo "$kak_selections" | "$kak_config/scripts/apply_vimgrep_updates.fnl" | xargs -i echo "info '{}'"
}
}