Robbo wrote:
> also
>
> :command Ptag :ptag <cword>
>
> doesn't work
>
> On 17 Nov, 16:16, Robbo <[email protected]> wrote:
>   
>> I've just looked for :h cword
>> but if i write
>> :map <C-[> :ptag <cword>
>>
>> it doesn't work.
>>
>> Thank you.
>>     
Please bottom post on this list. Quote a small (relevant) part of the 
message you are replying to, and put your text underneath.

The guidelines for the list may be found at:
http://groups.google.com/group/vim_use/web/vim-information

Now, for some hints to resolve your problem:

:he map-expr
:he expand()  (you'll see <cword> mentioned here)

Regards,
Chip Campbell



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to