I have Template command installed from sonicteomplate The problem with this plugin is, when I call a plugin, the cursor jumps to where {{_cursor_}} is, but it stays in normal mode, it doesn't go to input mode automatically.

I would like a command Temple sometemplate to call a template called sometemplate, jumps the cursor to where {{_cursor_}} is and then automatically to be in insert mode.

Or is there any plugins for calling templates that has this feature?

Template in vim-latex-suit does this. Any ideas??

  • You could try something like :command -nargs=* Temple <mods>Template <args> | startinsert
    – D. Ben Knoble
    Nov 11 '21 at 2:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.