Home » Questions » Computers [ Ask a new question ]

What Vim features do you use? [closed]

What Vim features do you use? [closed]

"I spend almost all day programming in Vim and I am sure that a lot of you do too. What features do you use that make your day to day coding that much better? One that I use
is gv, which will let you reselect the previously selected text. It is great for reindenting!"

Asked by: Guest | Views: 322
Total answers/comments: 4
Guest [Entry]

=% for auto-indenting everything within a block of code.
Guest [Entry]

".

Hitting the . key repeats the previous command. Lovely for, say, editing an .ini, or so."
Guest [Entry]

syntax color highlighting
Guest [Entry]

I am always using gq to re-do line breaks on email, text files, etc. Really useful when replying to email (I use pine) and editing multiple previous replies.