Friday, November 23, 2012

How to get {lhs} for mapping

Hello

In my plugin I would like to display a small "help" window with some
mappings the user can invoke. Depending on preferences and already
existing mappings, these can have one of several possible {lhs},
although the {rhs} is a known string like <Plug>PluginFunction.

Is there a way for me to know what mappings have '<Plug>PluginFunction'
as the {rhs} ? So I can display the {lhs} in the "help" window for the
user ?

Something like hasmapto(), but I would also like to know what the
mapping is.

Thank you,
Timothy Madden

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