Vim - Command

About

To execute commands, you need to be in the normal mode

Syntax

Many commands that change text follows this format:

[number] operator  [number] [motion]

where:

  • [number] - is an optional count to repeat the operator
  • operator - is what to do, such as d for delete
  • [number] - is an optional count to repeat the motion
  • [motion] - moves over the text to operate on, such as w for word, $ for the end of line, etc.

Example

  • d2w stands for delete 2 words.
  • 3a!<Esc>. Added three exclamation points to the end of a line by typing
  • 3x. Delete three characters
  • 9k or 9 Mouse Up. Move up the cursor nine lines

Management

List

:help index 

Powered by ComboStrap