AutoYADM commit: 2025-07-24 14:24:36
This commit is contained in:
parent
072a2b4cbb
commit
89437e88d6
1 changed files with 5 additions and 0 deletions
|
@ -133,6 +133,11 @@ hook global WinSetOption filetype=kak %{
|
|||
}
|
||||
|
||||
hook global WinSetOption filetype=typst %{
|
||||
declare-filetype-mode typst
|
||||
map -docstring 'bold' global typst b ': surround-add-pair * *<ret>'
|
||||
map -docstring 'emph' global typst i ': surround-add-pair _ _<ret>'
|
||||
map -docstring 'unbold' global typst <a-b> ': surround-delete-key *<ret>'
|
||||
map -docstring 'unemph' global typst <a-i> ': surround-delete-key _<ret>'
|
||||
set-option buffer formatcmd "typstyle --wrap-text"
|
||||
hook -group typst-auto-format window BufWritePre .* format
|
||||
hook -once -always window WinSetOption filetype=.* %{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue