Monday, July 2, 2012

finding the originating map command

I have mapped ,cs to a function called CheckSyntax
if I execute
: map ,cs
I get
,cs * :call CheckSyntax()<CR>
if I execute
:verbose map ,cs
I get
,cs * :call CheckSyntax()<CR>
Last set from
/Users/http/run/baker/journal/000_main__journal.vim
which helpful is tracking down mappings I might not need or want.

However I would like to be able to
1)Find where the mapping originated
i.e. I have the mapping in ~/.vim/plugin/tj_code_insert.vim
2)Find where a function originated
i.e. where is CheckSyntax defined?

TIA
tim
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com

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