Bill wrote:

> These do the same thing: 
> let @/ = @/ . pad[c] 
> let @/ .= pad[c] 
> 
> Is there an advantage (speed? resources?) to use one rather the other? 
> That is, other than less typing.
> 
> :set allows a pre-pend as ^= as well as ap-pend with .=
> 
> :let has only ap-pend with .=

The tiny advantage is that the target only needs to be parsed once
instead of twice.

-- 
hundred-and-one symptoms of being an internet addict:
218. Your spouse hands you a gift wrapped magnet with your PC's name
     on it and you accuse him or her of genocide.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui