Excerpts from Eduardo LĂșcio Amorim Costa's message of Wed Feb 12 23:30:26 +0000 2014: > I would like to do some tricks with VIM and so I ask the help of you guys! > > It is possible to detect whether a plugin is active/running/open? > You can close a plugin by its name? > You can close a plugin when it loses focus?
You cannot close plugins. Vim uses buffers and windows (showing text). plugins usually refere to ~/.vim/plugin/* files - if that's not enough and if you want to redistribute a plugin today its most common to put files on github and have a directory structure like this: ftplugin/* plugin/* syntax/* ftdetect/* Details and history see: http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html About keyboard mappings and swiching: Vim supports mapping and unmapping of keyboard shortcuts. However it usually is best to ask plugin maintainers to try either WAY 1: ask maintainers of plugins to allow configuring the mappings so that there is no collision WAY 2: Don't load both plugins at the same time, either use plugin 1 or plugin 2. Plugin managers such as vim-addon-manager or NeoBundle support loading additional script runtime directories (as describe above) lazily, eg when opening a .php file a php debugger plugin/script would be loaded. (How this is done refere to vim-addon-manager or NeoBundle's documentation) > Is there any plugin that facilitates the activities mentioned? I tried writing tovl (the one vinmlib once) - but abandoned it for many reasons - taking care about "resetting" or "unloading" plugins/mapping/... is not worth the effort because restarting Vim is that cheap. Plugins such as github.com/MarcWeber/vim-addon-local-vimrc can help reconfiguring Vim to work with a specific project. Marc Weber -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
