AutoYADM commit: 2025-05-25 17:02:35
This commit is contained in:
parent
05aff18514
commit
29aae824b5
3 changed files with 7 additions and 6 deletions
|
@ -1 +1 @@
|
||||||
stdlib
|
|
||||||
|
|
|
@ -6,11 +6,12 @@ hook global WinSetOption filetype=mail %~
|
||||||
hook -group mail-spell window ModeChange (push|pop):.*insert %{
|
hook -group mail-spell window ModeChange (push|pop):.*insert %{
|
||||||
try %{ spell-clear }
|
try %{ spell-clear }
|
||||||
}
|
}
|
||||||
hook -group mail-spell window ModeChange (push|pop):insert:.* %{
|
# hook -group mail-spell window ModeChange (push|pop):insert:.* %{
|
||||||
try %{ spell }
|
# try %{ spell }
|
||||||
}
|
# }
|
||||||
|
hook -group mail-spell window NormalIdle .* %{ try spell }
|
||||||
hook -group mail-auto-format window BufWritePre .* format
|
hook -group mail-auto-format window BufWritePre .* format
|
||||||
hook -once -always WinSetOption filetype=.* %{
|
hook -once -always window WinSetOption filetype=.* %{
|
||||||
unset-option window formatcmd
|
unset-option window formatcmd
|
||||||
remove-hooks window mail-auto-format
|
remove-hooks window mail-auto-format
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
define-command file-picker %{
|
define-command file-picker %{
|
||||||
prompt -shell-script-candidates 'fd . --exclude "*.pdf" --type f --follow --no-ignore-vcs --ignore-file=.kakignore' open: %{
|
prompt -shell-script-candidates 'fd . --exclude "*.pdf" --hidden --type f --follow --no-ignore-vcs --ignore-file=.kakignore' open: %{
|
||||||
edit -existing %val{text}
|
edit -existing %val{text}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue