catalinciurea / perl-nextmethod

Vim plugin which offers [m, [M, ]m and ]M mappings for perl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

perl-nextmethod


This is a Vim plugin which offers mappins for [m, [M, ]m and ]M normal mode motions in perl files.

  • ]m jumps to the next perl subroutine start
  • ]M jumps to the next perl subroutine end
  • [m jumps to the previous perl subroutine start
  • [M jumps to the previous perl subroutine end

Details

According to Vim documentation these motion commands work only for 'Java and similar structured languages'

This plugin implements these motions in Perl scripts

NOTES:

  • There is a small issue with the standard c, d and y operators.
  • Visual Selection operator v is not supported with these motions currently
  • The jumplist and the ` mark(last position) are not preserved.

Catalin Ciurea

About

Vim plugin which offers [m, [M, ]m and ]M mappings for perl


Languages

Language:Vim Script 100.0%