Hello,

"Harry Putnam" wrote :
> Can anyone show an example of how to do this:
> 
> I want to wrap this:
> [...]
> Around the selected text... that is, select some text and press a key
> combo ... voila... its no surrounded by:
>   # [HP 101202_15:55:07 
> 
>   # ] 
> 
> Over the yrs I've acquired a fairly lengthy .vimrc but coding
> something like that is clear out of my skil set.

I've written a few functions to do surround anything: InsertAroundVisual() and 
Surround()
   http://code.google.com/p/lh-vim/wiki/lhBrackets#The_VimL_library

And I suspect there is a vim tip on the subject.

HTH,

-- 
Luc Hermitte
http://lh-vim.googlecode.com/
http://hermitte.free.fr/vim/

-- 
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