J - Join
Joins copies of one or more lines to the current line.
Syntax
J{m}{/string}
J{m-k}{/string}
J{m,n}{/string}
Syntax Elements
m is the number of lines to join string to, beginning with the current line. If m is not specified, it defaults to the current line.
m -k is line m through line k.
m ,n is n lines, starting at line m.
/ is a separator. You can use another character if '/' is used in the string to be appended.
string is the bridging character string.
Comments
You have the option of including a character string between the joined lines.
If you specify J with no parameters, the line following the current line is copied to the current line, leaving the line copied as it was.
Example 1
|
|
Example 2
|
|