Possible tweaks for closetag.vim[edit source]
- Leave the cursor just before the close tag. This way you can invoke the close tag just after typing the opening tag, leaving the cursor automatically in the middle for filling the tag with the content.
Change the line:
- Use Ctrl+> instead of Ctrl+_ for invoking the script. It's faster, as > is the last character you type in the opening tag and you already have the finger there!
In the script replace <C-_> with <C-\>. --March 31, 2012
Community content is available under CC-BY-SA unless otherwise noted.