AutoYADM commit: 2025-06-23 18:50:16
This commit is contained in:
parent
a84f8e259f
commit
0887f914eb
1 changed files with 8 additions and 0 deletions
|
@ -18,6 +18,12 @@ define-command -override latex-surround-add %{
|
|||
}
|
||||
}
|
||||
|
||||
define-command -override latex-surround-remove %{
|
||||
prompt remove: %{
|
||||
latex-surround-remove-impl %val{text}
|
||||
}
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=latex %{
|
||||
set-option window formatcmd "tex-fmt --stdin"
|
||||
set-option window autowrap_fmtcmd 'tex-fmt --stdin -l %c'
|
||||
|
@ -34,5 +40,7 @@ hook global WinSetOption filetype=latex %{
|
|||
map window latex <a-i> ': latex-surround-remove-impl emph<ret>' -docstring 'deitalicize selection'
|
||||
map window latex b ': latex-surround-add-impl textbf<ret>' -docstring 'bold selection'
|
||||
map window latex <a-b> ': latex-surround-remove-impl textbf<ret>' -docstring 'debold selection'
|
||||
map window latex s ': latex-surround-add<ret>' -docstring 'surround add'
|
||||
map window latex r ': latex-surround-remove<ret>' -docstring 'surround remove'
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue