sponsor Vim development Vim logo Vim Book Ad

dosbatch_movement : Movement over MSDOS batch file functions / labels with ]m etc.

 script karma  Rating 0/0, Downloaded by 1124  Comments, bugs, improvements  Vim wiki

created by
Ingo Karkat
 
script type
ftplugin
 
description
DESCRIPTION
This filetype plugin provides movement commands and text objects for MSDOS
batch file functions and labels.

USAGE
                        Move around MSDOS batch file functions / labels.
                        A new section is also defined by a comment starting with
                        ::- or ::= or ::*.
]m                      Go to [count] next start of a function / label.
]M                      Go to [count] next end of a function / label.
[m                      Go to [count] previous start of a function / label.
[M                      Go to [count] previous end of a function / label.

im                      "inner method" text object, select [count] function /
                        label contents.
am                      "a method" text object, select [count] function / label,
                        including the function / label definition and end.
 
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 dosbatch_movement.vba.gz
    :so %
To uninstall, use the :RmVimball command.

DEPENDENCIES
- Requires Vim 7.0 or higher.
- Requires the CountJump plugin (vimscript #3130).
 

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
dosbatch_movement.vba.gz 1.00 2012-04-04 7.0 Ingo Karkat Initial upload
ip used for rating: 142.132.191.50

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