329

Does anybody know of a way to list up the "loaded plugins" in Vim? I know I should be keeping track of this kind of stuff myself but it would always be nice to be able to check the current status.

6 Answers 6

412

Not a VIM user myself, so forgive me if this is totally offbase. But according to what I gather from the following VIM Tips site:

" where was an option set  
:scriptnames            : list all plugins, _vimrcs loaded (super)  
:verbose set history?   : reveals value of history and where set  
:function               : list functions  
:func SearchCompl       : List particular function
0
45

The problem with :scriptnames, :commands, :functions, and similar Vim commands, is that they display information in a large slab of text, which is very hard to visually parse.

To get around this, I wrote Headlights, a plugin that adds a menu to Vim showing all loaded plugins, TextMate style. The added benefit is that it shows plugin commands, mappings, files, and other bits and pieces.

3
  • 1
    @Mohammed, I installed Headlights. I'm on Mac OS X Mountain Lion, and I don't see menus in "vim". I don't have a "gvim" in my path. Any idea how to get/run a GUI vim that would show me menus so that I could see the Headlights menu? Aug 5, 2012 at 15:47
  • @RobBednark MacVim is what your looking for. You can install it with HomeBrew via brew install macvim or get it here. You can activate it from the command line using mvim if you install that command line tool. (and you can alias that to gvim if you're used to typing that)
    – adam_0
    Sep 8, 2012 at 3:29
  • 1
    @adam_0 I have it as brew cask install macvim
    – barlop
    May 19, 2019 at 4:29
32
:set runtimepath?

This lists the path of all plugins loaded when a file is opened with Vim.

1
  • 2
    This doesn't list loaded plugins it lists runtime paths
    – j b
    Apr 12, 2019 at 6:05
27

If you use Vundle, :PluginList.

0
20

:help local-additions

Lists local plugins added.

2
  • 3
    Note that this will only list plugins that have a proper vim help file installed
    – j b
    Apr 12, 2019 at 6:06
  • @jb Um I get a positive result for situations that say 'Sorry, no help for X'
    – Joe
    May 9, 2020 at 19:44
11

If you use vim-plug (Plug), " A minimalist Vim plugin manager.":

:PlugStatus

That will not only list your plugins but check their status.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.