snipMate安装 错误
来源:互联网 发布:淘宝客在哪里进去入口 编辑:程序博客网 时间:2024/06/15 19:11
自己安装了 snipMate,启动vim后出现以下错误:
Warning in snipMate.vim: Snippet c) is already defined. See :h multi_snip for help on snippets with multiple matches.
Warning in snipMate.vim: Snippet date is already defined. See :h multi_snip for help on snippets with multiple matches.
Press ENTER or type command to continue
[root@localhost ~]# vim hello.c
Warning in snipMate.vim: Snippet c) is already defined. See :h multi_snip for help on snippets with multiple matches.
Warning in snipMate.vim: Snippet date is already defined. See :h multi_snip for help on snippets with multiple matches.
Press ENTER or type command to continue
[root@localhost ~]# vim hello.c
Warning in snipMate.vim: Snippet c) is already defined. See :h multi_snip for help on snippets with multiple matches.
Warning in snipMate.vim: Snippet date is already defined. See :h multi_snip for help on snippets with multiple matches.
Press ENTER or type command to continue
错误原因:
我在/usr/share/vim/vim72和~/.vim分别解压了 snipMate.zip一次,造成了文件重复。
解决办法:
将/usr/share/vim/vim72中snipMate相关的文件去除即可。
我安装在了root下面,直接find再删除文件夹就好。
总结一下snipMate的安装办法:
1.到http://www.vim.org/scripts/script.php?script_id=2540下载snipMate.zip
2.将snipMate.zip复制到~/.vim,用“unzip snipMate.zip”解压。如果没有~/.vim目录,自己创建。
3.修改~/.vimrc,增加这么一行:
filetype plugin on
4.启动Vim打开一个C文件,输入"int main<tab>"看看会发生什么。
转自:http://blog.csdn.net/yuanlulu/article/details/6026798
- snipMate安装 错误
- snipMate安装后报错
- 关于Vim 的插件snipmate 以及它的安装方式
- Debian squeeze安装vim自动补全插件snipMate.绝对可用
- vim自动补全插件snipMate在ubuntu下的安装
- vim插件之SnipMate
- Vim的snipMate插件
- [转]vim snipMate
- vim snipmate技巧-定制自己的snippet
- 我的NeoComplCache和SnipMate共处方案
- Windows 下安裝 Vim 插件 snipMate 解決方案
- VI插件——snipMate [语法结构补全]
- snipMate vim的自动补全代码段插件
- VS2003安装错误,SQLserver安装错误
- DXSDK_Jun10安装错误解决!/directX安装错误
- SQL安装错误
- 安装SQL Server 错误
- VC6.0安装错误
- http://poj.org/problem?id=2255
- SSRS:之为用户“NT AUTHORITY\NETWORK SERVICE”授予的权限不足,无法执行此操作。 (rsAccessDenied)
- hdu 4864
- cocos2d-x 精灵遮罩
- 51单片机定时器初值的计算
- snipMate安装 错误
- Java 内部类浅析
- 杭电1102————最小生成树prim
- 主成分分析pca和白化
- Android开发jni学习问题
- 第一个项目(四)让主角动起来
- SSRS:部署错误之“请求因 HTTP 状态 401 失败: Unauthorized。”
- (译)如何使用CCRenderTexture来创建动态纹理
- 计算机专业术语全称及含义整理