AutoYADM commit: 2025-05-21 23:52:39
This commit is contained in:
parent
4271658423
commit
5ceb87dd7b
3 changed files with 17 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
# https://strongly-typed-thoughts.net/blog/kakoune-philosophy
|
||||
set-option global grepcmd 'rg --column --smart-case --sort path'
|
||||
|
||||
# TODO: Highlight the actual search term, too? would be cool
|
||||
|
||||
define-command -hidden grep-jump-current-line %{
|
||||
evaluate-commands -save-regs clp %{
|
||||
execute-keys -draft 'ghT:"py2lT:"ly2lT:"cy'
|
||||
|
@ -9,4 +11,9 @@ define-command -hidden grep-jump-current-line %{
|
|||
}
|
||||
hook global WinSetOption filetype=grep %{
|
||||
map window normal <ret> ': grep-jump-current-line<ret>'
|
||||
try %{
|
||||
remove-highlighter window/number-lines
|
||||
remove-highlighter window/show-whitespaces
|
||||
ui-wrap-disable
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue