AutoYADM commit: 2025-06-23 18:25:15
This commit is contained in:
parent
85f0b8bddd
commit
f161fe381b
1 changed files with 8 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue