vim插件管理
来源:互联网 发布:js获取id的属性值 编辑:程序博客网 时间:2024/05/16 07:11
安装vim-plug插件管理:
Unix
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Windows (PowerShell)
md ~\vimfiles\autoload$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'(New-Object Net.WebClient).DownloadFile( $uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath( "~\vimfiles\autoload\plug.vim" ))
Add a vim-plug section to your ~/.vimrc :
- Begin the section with call plug#begin()
- List the plugins with Plug commands
- call plug#end() to update &runtimepath and initialize plugin system
- Automatically executes filetype plugin indent on and syntax enable. You can revert the settings after the call. e.g. filetype indent off, syntax off, etc.
- Reload .vimrc and :PlugInstall to install plugins.
Example: A small sensible Vim configuration
call plug#begin()Plug 'tpope/vim-sensible'call plug#end()
windows安装vundle插件管理
git clone https://github.com/gmarik/vundle D:\Vim\vimfiles\bundle\vundle
编辑_vimrc文件,加入
filetype offset rtp+=$VIM/vimfiles/bundle/vundle/call vundle#rc('$VIM/vimfiles/bundle/')Bundle 'gmarik/vundle'filetype plugin indent on
可以使用 :BundleInstall ,:BundleInstall! 来下载插件和更新插件了
阅读全文
0 0
- Vim::Vundle管理vim插件
- vim 插件管理 spf13-vim
- Vim插件管理Vundle
- vim配置 插件管理
- vim bundle管理插件
- vim-3-插件管理
- Vundle管理vim插件
- 如何管理 Vim 插件
- vim 插件管理
- Bundle管理vim插件
- Vim 插件管理
- vim插件管理
- vundle管理VIM插件
- vim插件管理
- Neobundle 管理Vim插件
- Bundle管理Vim插件
- vim插件管理
- vim学习 - 插件管理插件
- Linux系统自带spi驱动加载及应用程序编写方法详解
- 单例设计模式
- JSP核心标签库
- FFmpeg系列-1-在linux中安装
- UVA
- vim插件管理
- 如何创建C# Closure ?
- HDU-4793 Collision 计算几何 解方程
- 不使用多线程, 使用select, 实现http请求的异步
- 栈和队列---由两个栈组成队列
- Java 日期比较大小
- Ubuntu16.04 python3 caffe安装
- RTP协议全解析(H264码流和PS流
- synergy 使用说明以及资源分享