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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.