:tn - iterate through all the matches of the previous command.
:s/old/new/g - replaces all occurrences on the current line
:!ls - executes external commands
:r
:r !ls - inserts the output of ls to the cursor position
use h j k l for cursor movement in vi
v - Visual mode to select text.
follow the above by operations like 'y' ( to copy ) or 'd' (to delete)
No comments:
Post a Comment