Command Mode: U Undo Last Single Change
Command Mode: U Undo Last Single Change
•Command mode is the mode you are in when you start (default mode)
•Command mode is the mode in which commands are given to move around
in the file, to make changes, and to leave the file
•The mode in which text is created. (You must press <enter> at the
end of each line unless you've set wrap margin.)
•There is more than one way to get into insert mode but only one way
to leave: return to command mode by pressing <Esc>
You must press <enter> after commands that begin with a : (colon)
To cut-and-paste or copy-and-paste:
1.Position the cursor at the beginning of the text you want to cut/copy.
2.Press v to begin character-based visual selection, or V to select whole lines,
or Ctrl-v or Ctrl-q to select a block.
3.Move the cursor to the end of the text to be cut/copied. While selecting text,
you can perform searches and other advanced movement.
4.Press d (delete) to cut, or y (yank) to copy.
5.Move the cursor to the desired paste location.
6.Press p to paste after the cursor, or P to paste before.