Change <space> to , to match new bindings

This commit is contained in:
Natsu Kagami 2022-09-20 20:41:55 +02:00
parent a8b8d866af
commit 4d90b684d4
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -11,13 +11,13 @@ define-command -hidden create-begin-block %{
execute-keys "<a-/>b0<ret><a-N>"
execute-keys -with-hooks -with-maps "c"
hook -once buffer ModeChange .*:normal %{
execute-keys -with-maps "<space>gl"
execute-keys -with-maps ",gl"
}
}
# Create a begin block with the given parameter as block name.
define-command -params 1 create-begin-block-with %{
execute-keys "<esc>i\begin{b0}<ret>\end{b0}<esc>"
execute-keys "<a-/>b0<ret><a-N>c%arg{1}<esc><space>"
execute-keys "<a-/>b0<ret><a-N>c%arg{1}<esc>,"
execute-keys "o<esc>k"
execute-keys -with-maps "gl"
}