从此一张.vimrc 的conf文件走天下。
- 配置 .vimrc 文件 = vim常规配置 +个性化插件配置;
- 避免单个文件太大, 利于后面阅读, 分为两部分。
1. .vimrc general Settings
将自己配置贴上来,vim常规配置 . 注释使用英文, 便于复制黏贴无乱码.
慢慢按需添加, 而不是随便从网上贴一份过来.
" ```````````````````````````````````````````````
" General Setting of Vim
" ..............................................
set number
set nowrap
set nocompatible
" Backup cancel
set nobackup
set nowb
set noswapfile
set ignorecase
set ruler
set tabstop=4
set paste
autocmd! bufwritepost $HOME/.vimrc source %
syntax on
filetype off
filetype plugin indent on
2. Settings of plugins in Vundle
Vundle 安装的插件的一些设置
" ----------------------------------------------
" Plugins Content & Plugins settings
" .............................................
set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#