Last Updated on March 26, 2023 by mishou
I. Verb Modifier Object
You can talk to Vim or Neovim in Verb Modifier Object sentences. Here are some of verbs, modifiers and objects.
v (visual), c (change), d (delete), y (yank/copy)
i (inside), a (around), t (till..finds a character), f (find..like till except including the char), / (search..find a string/regex)
w (word), s (sentence) p (paragraph) b (block/parentheses), t (tag, works for html/xml)
Learn to speak vim — verbs, nouns, and modifiers!
Tips You Wish You Knew While Learning Vim
II. Let’s speak to Vim or Neovim in sentences
delete the current word
delete the current word and enter insert mode after
change current sentence
change a string inside quotes
change until next occurrence of ‘foo’
change everything from here to the letter X
visually select this paragraph
III. Add ” ” to multiple words
Let’s add ” ” to multiple words using II and the small delete register (CTRL-r) and ..