sponsor Vim development Vim logo Vim Book Ad

Enter Indent : By pressing enter between two tags, the cursor is repositioned <esc> O

 script karma  Rating 28/7, Downloaded by 516    Comments, bugs, improvements  Vim wiki

created by
Anderson Custódio de Oliveira
script type
|  - represents the cursor

# body { | }

In the above situation, pressing enter, the result is as follows

# body {

Other examples



{if} | {/if}


I recommend that you use this plugin in conjunction

Download a zipped archive, leave bug reports and feature request here:

PS: Sorry if the text is poorly written, I am learning English
install details
Save to .vim/plugin

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
enter-indent.vim 0.0.3 2012-06-07 7.0 Anderson Custódio de Oliveira Adicionado suporte para <!--[if ]><![endif]-->
Mudança no modo de criar o recuo de linha, agora funciona de acordo com as configurações do vim.
enter-indent.vim 0.0.2 2011-05-05 7.0 Anderson Custódio de Oliveira Ao pressionar esc em dois colchetes vazios, era gerado um colchete inútil, o problema foi resolvido com a mudança da seqüência de comandos do "feedkeys".
enter-indent.vim 0.0.1 2011-05-04 7.0 Anderson Custódio de Oliveira Avoiding Unnecessary processes and fix tags {if}, {elseif} and get the other smarty.
enter-indent.vim 0.0.0 2011-05-03 7.0 Anderson Custódio de Oliveira Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo