sponsor Vim development Vim logo Vim Book Ad

VimSpy : VimSpy enables you to browse through all Vim internal entities.

 script karma  Rating 109/102, Downloaded by 975  Comments, bugs, improvements  Vim wiki

created by
Michael Schwarz
 
script type
utility
 
description
VimSpy defines a few commands and key mappings which enables you browse through almost all Vim internal entities such as functions, commands, menus and key mappings.

Main commands:

Function [funcName]
Command [cmdName]
Autocmd [autocmd]
Menu [menuName]
Map [mapping]
Syntax [synItem]
Highlight [synItem]

These commands are simply analogues of well-known Vim informational commands as function, command, autocmd and so on.
But they are modified in such a way that enables you use it much more efficient.

1. An output of command is displayed in new window rather than ugly console.
2. It is nicely highlighted.
3. All function names and other keywords in output are clickable. When you double-click function name, new window with function definition is opened. In this function definition you may click any other function name and one more definition will be opened.  If you double-click Vim built-in keyword, help window will be opened. You also may to put cursor on keyword you are interested for and press enter. It will have the same effect as double-click.

So you can in such a way quickly browse Vim internals.

VimSpy also has such commands:

Changes -- :change command analogue
Messages -- :message command analogue

CommandOutput  [cmd [args]] -- display output of any command in new window (It will not be highlighted though, except all command that have uppercase analogues)

AMap        AMenu         ANoreMap   ANoreMenu
CMap        CMenu         CNoreMap  CNoreMenu
IMap          IMenu          INoreMap    INoreMenu
NMap         NMenu        NNoreMap   NNoreMenu
NoreMap    NoreMenu    OMap          OMenu
ONoreMap ONoreMenu  SMap          SMenu
SNoreMap  SNoreMenu  VMap          VMenu
VNoreMap  VNoreMenu  XMap          XMenu
XNoreMap  XNoreMenu  LMap         LNoreMap    --      analogues of lowercase functions


 
install details
Just unpack tarball into $VIMRUNTIME or $HOME/.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
VimSpy.tar.gz 0.2 2007-04-20 7.0 Michael Schwarz Was added good syntax highlighting, ability to browse over all function names and a few new commands (Autocmd, Map and Map and Menu derivatives).
CommandOutput.tar.gz 0.1 2007-03-18 7.0 Michael Schwarz Initial upload
ip used for rating: 18.217.6.114

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github