From f5fe555d82f468c05df50964844de5bbd3d57ca7 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 23 Jun 2025 19:00:15 -0400 Subject: [PATCH] AutoYADM commit: 2025-06-23 19:00:15 --- .config/kak/autoload/filetype/latex.kak | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.config/kak/autoload/filetype/latex.kak b/.config/kak/autoload/filetype/latex.kak index a9d74c93..523d67ba 100644 --- a/.config/kak/autoload/filetype/latex.kak +++ b/.config/kak/autoload/filetype/latex.kak @@ -1,4 +1,3 @@ -# wrap selection in \emph{...} define-command -override -params 1 latex-surround-add-impl %~ evaluate-commands -save-regs 'a' -no-hooks %^ set-register a %arg{1} @@ -36,11 +35,11 @@ hook global WinSetOption filetype=latex %{ remove-hooks window latex-auto-format } declare-filetype-mode latex - map window latex i ': latex-surround-add-impl emph' -docstring 'italicize selection' - map window latex ': latex-surround-remove-impl emph' -docstring 'deitalicize selection' - map window latex b ': latex-surround-add-impl textbf' -docstring 'bold selection' - map window latex ': latex-surround-remove-impl textbf' -docstring 'debold selection' - map window latex s ': latex-surround-add' -docstring 'surround add' - map window latex r ': latex-surround-remove' -docstring 'surround remove' + map window latex i ': latex-surround-add-impl emph' -docstring 'italicize selection' + map window latex ': latex-surround-remove-impl emph' -docstring 'deitalicize selection' + map window latex b ': latex-surround-add-impl textbf' -docstring 'bold selection' + map window latex ': latex-surround-remove-impl textbf' -docstring 'debold selection' + map window latex s ': latex-surround-add' -docstring 'surround add' + map window latex r ': latex-surround-remove' -docstring 'surround remove' }