We can make from two lines a single with J
. It looks as the following:
line 1
line 2
after J
pressed on line 1 we've got this:
line 1 line 2
But is there a combination which what do the opposite (not u
)? I mean to split
line 1 line 2
^
cursor
in
line 1
line 2
i<ENTER><ESC>
is too messy. Is there a one button shortcut for this in vim already?
r<cr>