Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doc/vimtex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3264,7 +3264,10 @@ MAP DEFINITIONS *vimtex-mappings*
Insert mode:
Convert the preceding text into a LaTeX command. That is, it prepends
a backslash and adds an opening brace. It also moves the cursor to the end
of the word.
of the word. If you also want the closing brace (emulating delimitMate),
you can add the following to your `~/.vim/after/ftplugin/tex.vim`

imap <buffer> <F7> <Plug>(vimtex-cmd-create)}<Left>

Normal/Visual mode:
Surrounds the word under the cursor/visual selection by the command
Expand Down