Vim

Operators and Motions

  • Operator --> Number --> Motion

operator (Verb)

  • what we are doing
  • ex. - d, c, y, f, t
    • f#/F# - (mn. find)
      • inclusively go to first occurrence of # in the line
      • ; to cycle through, , to go backwards
    • t#/T# - (mn. til)
      • exclusively go to first occurrence of # in the line

Modifier

  • more specific information about the modifier
  • ex. - i (inside), a (around)

Combine with numbers to further specify text objects

  • ex. - d2f: - delete until the second : character
  • ex. - d2/:<cr> - delete until the second : character

motion (noun) - what we are operating on

  • ex. - $, 0, w, e, b


Children
  1. Cmds
  2. Config
  3. Feat
  4. Help
  5. Inner
  6. Modes
  7. Nav
  8. Regex
  9. Search
  10. Settings
  11. Substitution
  12. Vim Plug
  13. Vim-Fugitive