On Mon, Jan 11, 2010 at 11:15 AM, Tim Chase wrote: > Matt Wozniski wrote: >> >> On Sat, Jan 9, 2010 at 1:59 PM, Tony Mechelynck wrote: >>> >>> On 09/01/10 18:13, hendrikus godvliet wrote: >>>> >>>> How do i have to understand to break a line - enter - when i am in edit >>>> modus. >>>> Do i have to go to "i" insert mode or is there a command in edit modus >>>> to >>>> do >>>> so. >>>> >>> To break an existing line in two, there are several methods. I think the >>> two >>> simplest ones are i<Enter><Esc> (to break before the cursor) and >>> a<Enter><Esc> (to break after the cursor). But there are others. For >>> instance you could substitute the cursor position by a line break, as in >>> >>> :s/\%#/\r >>> >>> I think there are still more possibilities. > > Of course...this is Vim ;-) > >> The one I use most often is probably s<CR> while on a space, to turn >> it into a line break. > > Do you mean > > r<CR> > > or > > s<CR><ESC> > > ? It sounded like the OP wanted to remain in normal mode.
True - I use both, depending on context of course. ~Matt
-- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php