Vim 使用入门
Tools
reference
| NAME | URL | DES |
|---|---|---|
| VundleVim | https://github.com/VundleVim/Vundle.vim | Vim plugin manager |
| ale | https://github.com/w0rp/ale | |
| vim-airline | https://github.com/vim-airline/vim-airline |
Plugin Manager
Vundle is short for Vim bundle and is a Vim plugin manager.
mkdir ~/.vim/bundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim ~/.vimrc
In .vimrc, this is my config:
set nocompatible
filetype off
set ts=4
set expandtab
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'https://github.com/Valloric/YouCompleteMe.git'
Bundle 'luochen1990/rainbow'
let g:rainbow_active = 1
Plugin 'w0rp/ale'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
call vundle#end()
filetype plugin indent on
Then build:
vim +PluginInstall +qall
# options: PluginClean, PluginUpdate, PluginList
Other useful settings:
set nu!
set autoindent #自动对齐
syntax on 修改历史9 次提交
- refactor: reorganize documentation structure and update Navbar componentxiaocheng··
2fb8f42 - chore(project): clean up obsolete configuration and build artifactsxiaocheng··
3574bd3 - new struct for lblogsxiaocheng··
8c9b28e - move blogs to docsxiaocheng··
c8535a0 - update fix: timeline errorchenweigao··
fb4b591 - update Datechenweigao··
3c14689 - init v3chenweigao··
b770fc2 - 重构一些博客chenweigao··
9f96ab6 - init v2chenweigao··
505f81b