On Tuesday, March 6, 2012 1:05:39 AM UTC-8, eNG1Ne wrote:

> btw, and a tip you may not need: by default, search/replace in vim
> only works on the first match in a line. This confused me a lot when I
> started using vim, and it took me a while to find out about the g
> switch ...

I :set gdefault. I don't know of any time I've wanted to replace the first 
occurrence on a line, but not the second one.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to