Friday, 6 November 2009

Now save and quit... doh!

If you like me are annoyed by the "recording" feature on vim (or better, by the way you can accidentally start it), then you may find at least useful to learn how it can be actually used.

This post explains it.

1 comment:

  1. Ah, but recording is so useful! Try changing an IP address by using a regex in a file 50 times.. you hit q assign a key, then find the first instance of the IP with a regex, then hit q again. For the next instance? just hit @q. and for the next. and for the next :)


[off topic] Differences between running and cycling

 I'm a passionate runner, and always considered cycling as something fun, e.g. mountain-biking, but difficult to practice regularly. The...