Last Updated on July 31, 2022 by shibatau
III is added.
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)
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 ..