scriptease.vim: A Vim plugin for Vim plugins
Vim script
Latest commit b9720e6 Jul 1, 2016 @blueyed blueyed committed with More relaxed unlet (#20)
* Relax unlet_for pattern some more

It now also matches:

    if &cp || exists('g:loaded_easytags')

* unlet_for: read max. 500 lines

I've used a rather large value to not cause any regressions, but to
still provide some limit.

* unlet_for: handle finish after comment

This handles handling delimitMate's `plugin/delimitMate.vim`:

  if exists("g:loaded_delimitMate") || &cp
    " User doesn't want this plugin or compatible is set, let's get out!
    finish
  endif

* s:unlet_for: match '#' in variable names
Permalink
Failed to load latest commit information.
doc Fix typo May 30, 2014
plugin More relaxed unlet (#20) Jul 1, 2016
.gitignore Initial commit Nov 26, 2012
README.markdown Readme: projectile.vim is now projectionist.vim May 31, 2014

README.markdown

scriptease.vim

I make so many Vim plugins I had to make a Vim plugin for making Vim plugins.

Features

  • :PP: Pretty print. With no argument, acts as a REPL.
  • :Runtime: Reload runtime files. Like :runtime!, but it unlets any include guards first.
  • :Disarm: Remove a runtime file's maps, commands, and autocommands, effectively disabling it.
  • :Scriptnames: Load :scriptnames into the quickfix list.
  • :Verbose: Capture the output of a :verbose invocation into the preview window.
  • :Time: Measure how long a command takes.
  • :Breakadd: Like its lowercase cousin, but makes it much easier to set breakpoints inside functions. Also :Breakdel.
  • :Vedit: Edit a file relative the runtime path. For example, :Vedit plugin/scriptease.vim. Also, :Vsplit, :Vtabedit, etc. Extracted from pathogen.vim.
  • K: Look up the :help for the VimL construct under the cursor.
  • zS: Show the active syntax highlighting groups under the cursor.
  • g!: Eval a motion or selection as VimL and replace it with the result. This is handy for doing math, even outside of VimL. It's so handy, in fact, that it probably deserves its own plugin.
  • Projections for projectionist.vim.

See the :help for details.

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/tpope/vim-scriptease.git

Once help tags have been generated, you can view the manual with :help scriptease.

Contributing

See the contribution guidelines for pathogen.vim.

Self-Promotion

Like scriptease.vim? Follow the repository on GitHub and vote for it on vim.org. And if you're feeling especially charitable, follow tpope on Twitter and GitHub.

License

Copyright (c) Tim Pope. Distributed under the same terms as Vim itself. See :help license.