As promised in my last post
I have released a new version of
App::EditorTools
and have a number of screenshots of the new functionality. This version
includes App::EditorTools::Vim
, which provides an easy way to add
the vim scripts to integrate the package into Vim.
perl -MApp::EditorTools::Vim -e run > ~/.vim/ftplugin/perl/editortools.vim
And now you should have the following mappings:
App::EditorTools
Here are a few screenshots of these actions:
Lexically Rename Variables:
Rename Package based on the current file’s path:
Introduce Temporary Variable
I’d love to hear feedback and any suggestions for future PPI based tools that Vim, Padre and other editors could leverage.
I also have to note that the editortools-vim
script from
App::EditorTools
was very easy to put together (although it still
needs a fair amount of clean-up work and documentation) since is was based on
Ricardo’s App::Cmd–very
easy to use and feature rich.
Updated 7/5/09 10:37am: moved the screencasts to an external server and fixed some typos.
The contents of this blog are licensed under the Creative Commons “Attribution-Noncommercial-Share Alike 3.0″ license.