Vim tips and tricks
I’ve added a new category to the blog—on Vim tips and tricks. I know this could be super-fluous since so much data already exists, but hey, this is more for my use than for others—I keep forgetting stuff!
Anyway, so here’s the first tip. Suppose you want to insert 80 ’*’s in your file (for eg., you are coding C++ and want to write a multiline comment or make a header-separator or something like that, so you’d want a /-80’*’s here/)
Here’s one way to do it (there are many, obviously)
[esc]80i*[esc]