AutoYADM commit: 2025-05-25 17:02:35

This commit is contained in:
Daniel Fichtinger 2025-05-25 17:02:36 -04:00
parent 05aff18514
commit 29aae824b5
3 changed files with 7 additions and 6 deletions

View file

@ -1 +1 @@
stdlib

View file

@ -6,11 +6,12 @@ hook global WinSetOption filetype=mail %~
hook -group mail-spell window ModeChange (push|pop):.*insert %{
try %{ spell-clear }
}
hook -group mail-spell window ModeChange (push|pop):insert:.* %{
try %{ spell }
}
# hook -group mail-spell window ModeChange (push|pop):insert:.* %{
# try %{ spell }
# }
hook -group mail-spell window NormalIdle .* %{ try spell }
hook -group mail-auto-format window BufWritePre .* format
hook -once -always WinSetOption filetype=.* %{
hook -once -always window WinSetOption filetype=.* %{
unset-option window formatcmd
remove-hooks window mail-auto-format
}

View file

@ -1,5 +1,5 @@
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}
}
}