++ed by:

1 PAUSE user
1 non-PAUSE user.

Mark Grimes
and 1 contributors


App::EditorTools::Vim - Vim binding to App::EditorTools


    # Install the vim script to create binding to App::EditorTools with:
        editortools install-vim


Once the vim bindings have been installed (per the instructions in the SYNOPIS) you can use the mappings below speed editing/refactoring your Perl code. See App::EditorTools for a description of each refactoring routine.



EditorToolsMenu - Brings up a menu to choose the following routines


RenameVariable - Placing the cursor over a variable and pressing this mapping will prompt for a new variable name, then rename all occurrences of the varialbe within that lexical scope to the new name.

See App::EditorTools for more.


IntroduceTemporaryVariable - Selecting a range of text and pressing this mapping will prompt for a new variable name, then add a new statement declaring the variable and setting it the the highlighted expression, and finally replace the currently highlighted text with a reference to the variable.

See App::EditorTools for more.


RenamePackageFromPath - Pressing this mapping will change the package declaration in the current file to reflect that files path name. For example, if you are editing lib/App/EditorTools.pm the package declaration will be changed to package App::EditorTools;. At the moment there must be a valid package declaration in the file for this to work.

See App::EditorTools for more.


Also see PPIx::EditorTools, Padre, and PPI.


Mark Grimes, <mgrimes@cpan.org>


Copyright (C) 2009 by Mark Grimes

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.