Thursday, February 3, 2011

Re: Find out the origin of a mapping

On 02/03/2011 10:21 AM, Marco wrote:
> But I cannot find the place where the<Ctrl>+j mapping is defined. With :map
> it is not listed. Is it a plugin? How can I find out where the mapping is
> defined?

Depending on the mode in which the mapping is used, it might be
an insert-mode map. You'd want to look at the output of both

:map
:map!

If it's in one of those, you can determine the source by
prefixing it with "verbose":

:verbose map
:verbose map!

If it's truly not a mapping, there's something particularly
suspect going on.

-tim


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