禁止vim生成 .un~文件
set noundofile
不生成备份文件
set nobackup
不生成交换文件
set noswapfile
设置tab键的跳数
set tabstop=4
隐藏工具栏
set guioptions-=T
隐藏菜单栏
set guioptions-=m
括号匹配高亮提示
set showmatch
设置utf-8编码,可输入中文
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese,cp936
配色方案
colorscheme evening
或者desert
设置光标不闪烁
set guicursor+=a:blinkon0
插件安装:
安装vim的包管理器
vundle插件
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
配置
set rtp+=C:\moddemod\software\vim_bundle\Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
call vundle#end()
filetype plugin indent on
两种安装插件的方式
:PlugInstall
vim +PluginInstall +qall
文件管理插件
scrooloose/nerdtree
简单实用
打开目录树
:NERDTree
vim插件安装以及基本配置
猜你喜欢
转载自blog.csdn.net/weixin_43833642/article/details/104719556
今日推荐
周排行