As the title states, how do I check if a plugin is loaded?
When I hit tab (for SuperTab) all I get is the ordinary character “tab” inserted in my file and when I hit ctrl-space I just get thrown out of insert-mode (same behavior as hitting ESC)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
:scriptnamescommand lists all scripts that have been sourced; check for the plugin name in its output. If it’s missing, it is either due to a wrong installation or because'runtimepath'is incorrect.Alternatively, if you know the mapping a plugin should define
will show the mapping and from which script is was set.
Programmatically, it is best to check for the canonical include guard
if exists('g:loaded_pluginname')or for a defined command viaif exists(':PluginCommand').