Fuzzyfinder在gvim中不起作用 [英] fuzzyfinder not working in gvim

查看:88
本文介绍了Fuzzyfinder在gvim中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天我发现了有关Fuzzyfinder的信息,并尝试安装它.然后发现我需要L9,因为这是Fuzzyfinder的先决条件.

I found out about fuzzyfinder yesterday and tried installing it. Then found out I needed L9 since that is a prerequisite for fuzzyfinder.

运行gvim时出现以下错误:

I am getting the following errors when running gvim:

Error detected while processing /usr/share/vim/vim72/plugin/fuf.vim:
line   13:
***** L9 library must be installed! *****
Error detected while processing /usr/share/vim/vim72/plugin/l9.vim:
line    8:
E117: Unknown function: l9#guardScriptLoading
E15: Invalid expression: !l9#guardScriptLoading(expand('<sfile>:p'), 702, 0, [])
line   16:
E117: Unknown function: l9#defineVariableDefault

我已将fuf.viml9.vim放入我的plugin文件夹中.我也尝试将它们放在autoload文件夹中,但这会带来更多错误.

I've put fuf.vim and l9.vim into my plugin folder. I tried putting them in autoload folder as well but that fetches even more errors.

我的版本是:VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Apr 16 2010 12:40:58)

Google搜索无效,因为一个邮件列表中的问题分散了许多其他链接,而答案无处可寻.

Googling did not work since question from one mailing list is spread of so many other links and the answer is nowhere to be found.

推荐答案

Fuzzyfinder和l9插件都包含一个以上的文件.如果您丢掉了大多数(如果只放了fuf.vim和l9.vim,那么它们就不能工作).您应该将插件归档文件解压缩到〜/.vim中.

Both fuzzyfinder and l9 plugins contain more then one file. They must not work if you have thrown away most of them (and you did if you put just fuf.vim and l9.vim). You are supposed to unpack plugin archives into ~/.vim.

顺便说一句,您可以尝试使用 vim-addon-manager .将以下内容复制到您的shell中,您应该成功安装FuzzyFinder,其优点是每个插件都位于单独的目录中,并且以后可以更轻松地安装具有依赖性的插件:

By the way, you may try to use vim-addon-manager. Copy the following into your shell and you should get FuzzyFinder successfully installed with an advantage of having each plugin in a separate directory and easier installation of plugins with dependencies in future:

mkdir -p ~/.vam
git clone git://github.com/MarcWeber/vim-addon-manager ~/.vam/vim-addon-manager
echo 'set rtp+=~/.vam/vim-addon-manager' >> ~/.vimrc
echo 'call vam#ActivateAddons(["FuzzyFinder"])' >> ~/.vimrc
vim # Now answer yes on all queries

虽然这是正确的,但VAM团队建议阅读有关如何安装VAM的官方文档,该文档可在github.com/MarcWeber/vim-addon-manager中找到,然后CD进入doc目录. 我们要公平地说,VAM只是一种解决方案. Vundle,病原体...等还有很多(请参阅VAM文档中的相关工作部分)

While this is correct the VAM team proposes reading the official documentation about how to install VAM which can be found at github.com/MarcWeber/vim-addon-manager then cd into the doc directory. We want to be fair and say that VAM is only one solution. Vundle, Pathogen, ... and some more exist (See related work section in docs of VAM)

这篇关于Fuzzyfinder在gvim中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆