微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

vim插件安装 及 使用NERDTree分屏

VIM的插件

安装:

1、下载vundle(管理插件工具)

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

注意:~开始是下载到哪,我这里下载到了家目录

2、修改配置文件

//1、打开vim的配置
vim ~/.vimrc
//2、配置插件以及安装
set nocompatible
filetype off
map <C-n> :NERDTreetoggle<CR>
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'https://github.com/kien/ctrlp.vim.git'
Plugin 'https://github.com/scrooloose/nerdtree.git'
Plugin 'https://github.com/aperezdc/vim-template.git'
call vundle#end()
filetype plugin indent on

3、配置完,执行 vim +PluginInstall +qall



使用:

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐