Hi,
yyv/hhii/e+1
/<pattern>/{command}
HTH,
~Vishnu
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of bill lam
> Sent: Wednesday, April 08, 2009 10:40 AM
> To: vim_use
> Subject: yank include search pattern
>
> I want to yank (character-wise) with / (search), suppose the cursor is
> over aa, and I want to yank up to the hhii using command
>
> yv/hhii<CR>
>
> aa bb cc dd ee
> ff gg
> hhii zzzzzzzz
>
> However it only includes the first character (hii not included), how
> to force it to include the whole search pattern character-wise?
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> 钢123 蝴 沧玭穨
> い烦会笵 边產玭东 砍ㄓ縒┕ 秤ㄆ
> ︽絘矪 Г冻癬 案礛狶 酵礚临戳
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---