应安装该插件,以便它看起来像这样里面的时候~/.vim
(由tree
生成)
~/.vim
├── README
├── autoload
│ ├── mmtemplates
│ │ └── core.vim
│ ├── mmtoolbox
│ │ ├── make.vim
│ │ └── tools.vim
│ ├── perlsupportprofiling.vim
│ └── perlsupportregex.vim
├── doc
│ ├── ChangeLog
│ ├── perl-hot-keys.pdf
│ ├── perl-hot-keys.tex
│ ├── perlsupport.txt
│ ├── pmdesc3.text
│ ├── templatesupport.txt
│ ├── toolbox.txt
│ └── toolboxmake.txt
├── ftplugin
│ ├── make.vim
│ ├── perl.vim
│ ├── pod.vim
│ └── qf.vim
├── perl-support
│ ├── README.perlsupport
│ ├── codesnippets
│ │ ├── RegularExpressions
│ │ │ ├── numeric-range-0-127
│ │ │ └── numeric-range-0-255
│ │ ├── SmallProf-variables.pl
│ │ ├── dot.SmallProf
│ │ ├── free-software-comment
│ │ ├── module-interface.pl
│ │ ├── new.pl
│ │ ├── pod-template-application.pl
│ │ ├── pod-template-module.pl
│ │ ├── print-data-structure-with-Dumper.pl
│ │ ├── print-hash-sorted.pl
│ │ ├── print-hash.pl
│ │ ├── process-all-files-in-a-directory-recursively.pl
│ │ └── slurp-file.pl
│ ├── modules
│ │ └── perl-modules.list
│ ├── rc
│ │ ├── customization.ctags
│ │ ├── customization.gvimrc
│ │ ├── customization.perltidyrc
│ │ ├── customization.smallprof
│ │ ├── customization.vimrc
│ │ └── sample_template_file
│ ├── scripts
│ │ ├── csv2err.pl
│ │ ├── pmdesc3.pl
│ │ └── wrapper.sh
│ ├── templates
│ │ ├── Templates
│ │ ├── comments.templates
│ │ ├── filetests.templates
│ │ ├── idioms.templates
│ │ ├── pod.templates
│ │ ├── regex.templates
│ │ ├── snippets.templates
│ │ ├── specvar.templates
│ │ └── statements.templates
│ └── wordlists
│ └── perl.list
├── plugin
│ └── perl-support.vim
└── syntax
└── template.vim
然后囤
:helptags ~/.vim/doc
所以你必须使用这将生成标签文件帮助文件。
这是最有可能比较容易,如果你看一个vim的插件管理器,如Pathogen或Vundle。
注意:如果您使用病原体,则需要先运行:Helptags
,然后才能使用帮助。
有趣的是,当我将它卸载到'$ HOME/.vim'中时,它就像是这样,但它不起作用。我确实安装了病原体。但是将它添加到'$ HOME/.vim/bundle'文件夹并且解压缩它也没有任何作用(意味着':help perlsupport'被拒绝 – Jim 2014-08-31 16:53:58
@Jim目录结构应该与上面的路径完全相同,除了路径应该是像'$ HOME/.vim/bundle/perl-support.vim /'这样的东西。运行':Helptags'来使':help perlsupport'工作 – FDinoff 2014-08-31 16:56:45
我在bundle文件夹中解压缩。 Helptags'然后':help perlsupport',我得到了无法识别的选项 – Jim 2014-08-31 17:18:58