Comment by ๐ stack
From: ๐ป simul8
My favorites are:
gq - autoformat/wrap lines
di( or di{ or di< or di[ - deletes everything between braces
. - performs last editing action (macro)
q - sets macro
visual-mode - great for commenting out a block of code
And the best key sequence that I wish vim tutorials would cover is....
ctrl-c - It's the touch-typist friendly equivalent to esc.
2023-07-25 ยท 3 years ago
Original Post
TIPS โ [http link] [https link] [https link]