Ⅰ. 插件描述
Perl IDE -- Insert code snippets, run and profile the code and look up helpⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'benizi/perl-support-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'benizi/perl-support-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'benizi/perl-support-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/perl-support.vim
Ⅳ. 文档说明
This is a mirror of http://www.vim.org/scripts/script.php?script_id=556
- insert various types of comments
- insert complete but empty statements (e.g. 'if {} else {}' )
- insert often used code snippets (e.g. declarations, the opening of files, .. )
- insert the names of file tests, character classes, special Perl-variables and POSIX-signals
- read, write, maintain your own code snippets in a separate directory
- run scripts or run syntax check from within the editor
- show compilation erros in a quickfix window; navigate with hotkeys
- read perldoc for functions and modules
- run perltidy / run the profiler SmallProf
- test / explain regular expressions (needs Vim with Perl interface)
Here are some screen shots : http://lug.fh-swf.de/vim/vim-perl/screenshots-en.html
The help file online : http://lug.fh-swf.de/vim/vim-doc/perlsupport.html
The key mappings of this plugin (PDF) : http://lug.fh-swf.de/vim/vim-perl/perl-hot-keys.pdf
The installation explained: http://www.thegeekstuff.com article
"Make Vim as Your Perl-IDE Using perl-support Plugin"
(http://www.thegeekstuff.com/2009/01/make-vim-as-your-perl-ide-using-perl-supportvim-plugin)
Documentation
This plugin comes with a help file (perlsupport.txt). Read it with
:h perlsupport
PLEASE READ THE DOCUMENTATION
Editing actions differ for different modes!
There are a lot of features which can be configured or customized to match your needs.
MAILING LIST
You can subscribe to the vim-plugins-list mailing list to post your questions or
suggestions for improvement or to report bugs. The list will also be used to
announce new releases ( c.vim / bash-support / perl-support / doxygen-support ).
Visit the following page for subscribing to the mailing list:
http://lug.fh-swf.de/cgi-bin/mailman/listinfo/vim-plugins-list
The vim-plugins-list list is very low on traffic.
_
Thank you for rating perl-support !