AutoYADM commit: 2025-05-21 23:37:14
This commit is contained in:
parent
ba437c354a
commit
4271658423
2 changed files with 13 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
# https://strongly-typed-thoughts.net/blog/kakoune-philosophy
|
||||
set-option global grepcmd 'rg --column --smart-case --sort path'
|
||||
|
||||
define-command -hidden grep-jump-current-line %{
|
||||
evaluate-commands -save-regs clp %{
|
||||
execute-keys -draft 'ghT:"py2lT:"ly2lT:"cy'
|
||||
edit -existing %reg{p} %reg{l} %reg{c}
|
||||
}
|
||||
}
|
||||
hook global WinSetOption filetype=grep %{
|
||||
map window normal <ret> ': grep-jump-current-line<ret>'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue