Created
May 3, 2011 12:11
-
-
Save mfontani/953225 to your computer and use it in GitHub Desktop.
Vim: {v,}split source file for Perl module under cursor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" split edit the source file for the Perl module under the current WORD | |
nnoremap ,m :execute 'spl `perldoc -l ' . expand("<cWORD>") . '`'<CR> | |
nnoremap ,M :execute 'vspl `perldoc -l ' . expand("<cWORD>") . '`'<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment