Skip to content

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

Notifications You must be signed in to change notification settings

vim-scripts/Enter-Indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published