This document provides an overview of the Vim text editor, including how to move around files using motions like hjkl, actions like delete and yank, text objects, Ex mode commands like global search/replace, settings in vimrc, and popular plugins. It discusses that the learning curve of Vim is a myth and encourages learning cursor motions first before applying actions. Superman is used as an analogy for the cursor that can quickly move anywhere in a file using motions to then apply actions.
30. #1 Learn to move around
- Just learn how to reach a particular
position in a file.
- Say, for eg: next paragraph or next line or
start of the line.
- Find the motion keystroke
32. yy yanks (copies) the current line
dd deletes the current line
cc changes the current line
gUgU upcase the current line
Shortcut - doing the action twice
35. - From the cursor position, you can say this
entire thing inside quotes using i”
- From the cursor position, you can say this
entire thing of quotes using a”
“This quote is an object”