AutoYADM commit: 2025-06-23 18:25:15

This commit is contained in:
Daniel Fichtinger 2025-06-23 18:25:15 -04:00
parent 85f0b8bddd
commit f161fe381b

View file

@ -1,3 +1,11 @@
# wrap selection in \emph{...}
define-command -params 1 latex-surround-add %~
execute-keys -draft 'i\emph{<esc>a}'
~
define-command -params 1 latex-surround-remove %~
execute-keys -save-regs '"' -draft '<a-a>{<a-S>d<a-/>\\emph<ret>d'
~
hook global WinSetOption filetype=latex %{
set-option window formatcmd "tex-fmt --stdin"
set-option window autowrap_fmtcmd 'tex-fmt --stdin -l %c'