vim安装插件
来源:互联网 发布:淘宝十大cos店铺 编辑:程序博客网 时间:2024/06/03 21:42
先从www.vim.org/下载想要的插件
再按照对应的步骤进行安装
以taglist.vim为例
install details1. Download the taglist.zip file and unzip the files to the $HOME/.vim or the
$HOME/vimfiles or the $VIM/vimfiles directory. After this step, you should
have the following two files (the directory structure should be preserved):
plugin/taglist.vim - main taglist plugin file
doc/taglist.txt - documentation (help) file
Refer to the |add-plugin|, |add-global-plugin| and |runtimepath| Vim
help pages for more details about installing Vim plugins.
2. Change to the $HOME/.vim/doc or $HOME/vimfiles/doc or $VIM/vimfiles/doc
directory, start Vim and run the ":helptags ." command to process the
taglist help file. Without this step, you cannot jump to the taglist help
topics.
3. If the exuberant ctags utility is not present in your PATH, then set the
Tlist_Ctags_Cmd variable to point to the location of the exuberant ctags
utility (not to the directory) in the .vimrc file.
4. If you are running a terminal/console version of Vim and the terminal
doesn't support changing the window width then set the
'Tlist_Inc_Winwidth' variable to 0 in the .vimrc file.
5. Restart Vim.
6. You can now use the ":TlistToggle" command to open/close the taglist
window. You can use the ":help taglist" command to get more information
about using the taglist plugin.
1.下载taglist.zip 文件,并且解压下来:
解压命令unzip -d taglist taglist_42.zip
2.解压出来两个文件一个是帮助文件,一个是插件
3. 拷贝这两个文件到相应的目录
首先要获取权限: sudo su
拷贝:
cp doc/taglist.txt /usr/share/vim/vim74/doc/
cp plugin/taglist.vim /usr/share/vim/vim74/plugin/
4.配置和使用,可以直接使用
安装的时候发现需要安装ctags, 直接运行apt-get install ctags
装好之后就可以用了
:TlistToggle 直接运行
0 0
- vim安装vim-airline插件
- vim插件 安装
- vim插件安装
- Vim插件DrawIt安装
- vim插件安装
- vim安装插件问题
- vim插件安装目录
- vim插件安装路径
- VIM插件安装路径
- 如何安装VIM插件
- vim插件安装
- vim ctags 插件安装
- vim插件cscope安装
- VIM插件安装
- VIM 插件安装路径
- vim插件安装
- linux vim插件安装
- vim插件安装
- 将apache添加为开机启动与编译的httpd不支持chkconfig的解决方法
- cocos2d-x中添加Enter键和方向键按键响应
- C语言 用来清空输入缓存,以便不影响后面输入的东西
- ReportStudio入门教程(六十一) - JS-清空多选框
- 利用过滤器解决jsp中的乱码问题
- vim安装插件
- linux常用命令大全
- JavaScript内存优化
- Kaggle[2] - Predict the click through rate (KDD12 trackl2)
- POJ 1577 Falling Leaves 二叉树题解
- 正则表达式学习笔记与经验总结
- Servlet 工作原理解析
- HDU 1272 小希的迷宫
- git命令