Charles Campbell wrote:
Andy Wokula wrote:

* use <expr> mapping, and :echo as side-effect:

inorea <expr> abc  SelfEcho('abc')

func! SelfEcho(name)
    echoh Unique
    echo printf("void %s(void *ptr)", a:name)
    echoh None
    return a:name
endfunc

Great idea! Seems to work well, so I'll be converting my hints files over.

Sorry about replying to my own message, but:

I've now modified hints_man2.vim and hints_man3.vim, incorporating AW's method, and put them on my website.
They're available at

  http://drchip.0sites.net/astronaut/vim/index.html#HINTSMAN2
  http://drchip.0sites.net/astronaut/vim/index.html#HINTSMAN3

Thanks again,
Chip Campbell

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