vbs_movement : Movement over VBScript classes / functions / properties / subs with ]m etc.
script karma |
Rating 0/0,
Downloaded by 1128 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Ingo Karkat |
|
script type |
ftplugin |
|
description |
DESCRIPTION
This filetype plugin provides movement commands and text objects for Visual
Basic Script classes, functions, properties, and subs.
USAGE
Move around VBScript functions, properties and subs:
]m Go to [count] next start of a function / property / sub.
]M Go to [count] next end of a function / property / sub.
[m Go to [count] previous start of a function / property / sub.
[M Go to [count] previous end of a function / property / sub.
]gm Go to [count] next start of a class.
]gM Go to [count] next end of a class.
[gm Go to [count] previous start of a class.
[gM Go to [count] previous end of a class.
im "inner method" text object, select [count] function /
property / sub contents.
am "a method" text object, select [count] function /
property / subs, including the function / property / sub
definition and 'end ...'.
igm "inner class" text object, select [count] class contents.
agm "a class" text object, select [count] classes, including
the class definition and "end class" |
|
install details |
INSTALLATION
This script is packaged as a vimball. If you have the "gunzip" decompressor
in your PATH, simply edit the *.vba.gz package in Vim; otherwise, decompress
the archive first, e.g. using WinZip. Inside Vim, install by sourcing the
vimball or via the :UseVimball command.
vim vbs_movement.vba.gz
:so %
To uninstall, use the :RmVimball command.
DEPENDENCIES
- Requires Vim 7.0 or higher.
- Requires the CountJump plugin (vimscript #3130). |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|