Order
To Baidu after the job, found in our department, whether Mac or Windows programmers exclusively to use VIM to edit code, a variety of plugins, shortcuts, dazzling commands and so on. I used to be in college only a few vim commands, to Baidu after catching up, now also can use VIM to develop happiness.
Plug-in installation Minibufexpl.vim (buffer preview)
Download from Https://github.com/fholgado/minibufexpl.vim and install according to http://www.vim.org/scripts/script.php?script_id=159 guidelines.
Installation steps: Copy Minibufexpl.vim into your plugin directory and add the following to your. VIMRC
1111
Neocomplete (Code completion)
Download from https://github.com/Shougo/neocomplete.vim#requirements and follow the instructions for installation, dependencies If_lua must have, no words read the requirements section.
. VIMRC configuration file
0.3.5 version (new. *.un~ File Unified Management)
syntax onset nobackupset noswapfileset hlsearchset numberset rulerset expandtabset tabstop=4Set Softtabstop=4Set Shiftwidth=4set Autoindentset cindentset smartindentset mouse=Vset BG=Darkset Encoding=utf-8set Nobombset cursorlineset magicset confirmset langmenu=zh_cn. utf-8Set Showmatchset matchtime=1Set Scrolloff=3Set completeopt=Longest,menuset T_co= theSet Wildmenu"<tab> Auto Not completeSet Wildmode=full"<tab> Auto zsh Auto -Complete menuSet history= $ "increasing the number of command line history is very valuableSet Undofile"un~ File Unified StorageSet undodir=~/. Vimundofilecolorscheme Darkbluecnoremap<C-p> <Up>"in command line mode <C-p> map to <Up>Cnoremap <C-n> <Down>"minimum configuration for loading plug-insSet Nocompatiblefiletype plugin onautocmd FileType* setlocal formatoptions-=c formatoptions-=r formatoptions-=o"prevent automatic comment when pasting
View Code
VIM Usage Tips