sponsor Vim development Vim logo Vim Book Ad

perl-nextmethod : ]m, ]M, [m, [M next/previous perl method motions

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

created by
Catalin Ciurea
 
script type
utility
 
description
This plugin adds the ]m, ]M, [m, [M motions for perl scripts.

Vim already supports these motions but they are available only for certain languages.

]m - jump to the next perl subroutine start
]M - jump to the next perl subroutine end
[m - jump to previous perl subroutine start
[M - jump to previous perl subroutine end

CAVEATS:
1. Does not preserve the jump list nor the ` mark (previous position)
2. There is small issue when using it with operators (e.g. yank copies the subroutine but leaves the last brace off)
3. Visual selection operator is unsupported

Guthub repository:
https://github.com/catalinciurea/perl-nextmethod
 
install details
1. Untar the archive into your ~/.vim directory
2. :helptags ~/.vim/doc
 

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
perl-nextmethod.tar.gz 0.01 2013-08-18 7.0 Catalin Ciurea Initial upload
ip used for rating: 3.138.122.195

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