Jeff Roberts
RHCE #804006066322833
Vim-Fu is now iPhone and Android friendly

Check out the Vim-Fu Store!

Vim-Fu

joining lines

Let’s say you have two lines and you want to join them together on the same line:

I like to move it
move it

Put the cursor anywhere on the first line and push “J”

I like to move it move it

Like most vim commands you can specify a count.

I like “3J”
to move
it move it

I like to move it move it

Note: Vim puts a space between each line when combined.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>