Miscellaneous Commands

Table 10-7 lists three commands that do not fit naturally into any other groups.

Table 10-7. Miscellaneous Commands
Join The Join command, J, joins the line below the current line to the end of the current line, inserting a SPACE between what was previously two lines and leaving the cursor on this SPACE. If the current line ends with a period, vim inserts two SPACEs. You can always “unjoin” (break) a line into two lines by replacing the SPACE or SPACEs where you want to break the line with a RETURN.
Status The Status command, CONTROL-G , displays the name of the file you are editing, whether the file has been modified and/or locked, the line number of the current line, the total number of lines in the Work buffer, and the ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.