Thursday, July 24, 2008

vi editor - join lines using "J" in command mode


shift j or "J" joins lines in command mode.
This will join the current line with the next line in your file.
Simple but useful.








2 comments:

dwashington said...

Useful information in a clear and easy to read format! I have used gvim for so long that I did not realize vim now has tabs!

Jadu Saikia said...

@dwashington, thanks.

© Jadu Saikia www.UNIXCL.com