Thoughts Heap

A Blog by Roman Gonzalez.-

RSS
Mar
2nd
Mon
permalink

Some quick thoughts about vim

Right now I’m on the replacing text commands, so far it has been:

  • the c (change) command. e.g c\d+(w|$|0|5l)
  • the C (Change until end of line) command. (which is eq. to c$)
  • the r (replace) command. e.g r\d+\w
  • the R (Replace mode) command. This is like the replace of the normal editors.
  • the s (substitute) command. e.g 3s (which is eq. to c3l)
  • the S (Substitue whole line) command.

I know this is a lame post… but I need to write it down and have it around just to remember it.

blog comments powered by Disqus