On Tue, Nov 17, 2009 at 11:01 AM, Christian Brabandt wrote:
>
> On Tue, November 17, 2009 4:16 pm, Robbo wrote:
>>
>> I've just looked for :h cword
>> but if i write
>> :map <C-[> :ptag <cword>
>>
>> it doesn't work.
>
> Try if this works:
> :map <C-[> :exe ":ptag " . expand("<cword>")<CR>I'm surprised no one has suggested: :nnoremap <C-[> <C-w><C-}> Maybe I'm missing some subtlety that makes that incorrect? Also, please note that mapping "<C-[>" has disastrous consequences in terminal vim; it's likely to break everything from keypresses to mouse clicks and mousewheel scrolling. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
