Skip to content

Movement over VBScript classes / functions / properties / subs with ]m etc.

Notifications You must be signed in to change notification settings

vim-scripts/vbs_movement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=4003

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"

About

Movement over VBScript classes / functions / properties / subs with ]m etc.

Resources

Stars

Watchers

Forks

Packages

No packages published