vim-scripts / Enter-Indent

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

Home Page:http://www.vim.org/scripts/script.php?script_id=3575

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3575

|  - represents the cursor

# body { | }

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

# body {
        |
}

Other examples

<tr>|</tr>

<tr>
        |
</tr>


{if} | {/if}

{if}
        |
{/if}

I recommend that you use this plugin in conjunction
    http://www.vim.org/scripts/script.php?script_id=2754

Download a zipped archive, leave bug reports and feature request here:
    http://github.com/acustodioo/vim-enter-indent

PS: Sorry if the text is poorly written, I am learning English

About

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

http://www.vim.org/scripts/script.php?script_id=3575


Languages

Language:Vim Script 100.0%