Saturday, December 22, 2012

Menu trigger a user mapping

Not quite sure how to set this up.

When I create a menu item it usually calls a command
vnoremenu <script> MyMenu.Test  :Test<CR>

What I want it to do instead is trigger one of my maps.
vnoremenu <script> MyMenu.Test  \tt

Except when I try this I just get a beep.
The examples I see in Vim's help are all calling commands (i.e. :wq).

Anyone have an example of how to do this?

Thanks,
David

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

No comments: