Thursday, 8 August 2013

Create new line while in insert mode

Create new line while in insert mode

I'd like to do something like Shift + Enter to create a new line in vim.
So if | = the cursor Here's what I'd like to do
<%= some.code("in here") | %>
press shift + Enter (or something similar... and get this as output
<%= some.code("in here") %>
and my new line here |
Is this possible?

No comments:

Post a Comment