標籤:
set t_Co=256set enc=utf-8set fileencoding=utf-8set fileencodings=utf-8,prccolorscheme molokaiset guifont=Consolas:h9let g:molokai_original = 1set runtimepath+=$GOROOT/misc/vim"call pathogen#runtime_append_all_bundles()"call pathogen#helptags()call pathogen#infect()nnoremap <silent> <F3> :Grep<CR>let mapleader = ",""let g:miniBufExplMapWindowNavVim = 1 "let g:miniBufExplMapWindowNavArrows = 1 "let g:miniBufExplMapCTabSwitchBufs = 0 "let g:miniBufExplModSelTarget = 1 "let g:miniBufExplMoreThanOne = 0"let g:nerdtree_tabs_open_on_console_startup=1"let g:nerdtree_tabs_open_on_gui_startup=1set laststatus=2let g:buftabs_in_statusline=1let g:NERDTree_title="[NERDTree]"let g:winManagerWindowLayout="NERDTree|MiniBuffExplorer|miniBufExpl"let g:NERDTreeWinSize = 20let NERDTreeIgnore=[‘\.vim$‘, ‘\~$‘, ‘\.pyc$‘, ‘\.pyo$‘]set foldmethod=indentset foldlevel=99set expandtabset textwidth=200set tabstop=4set softtabstop=4set shiftwidth=4set autoindentset nuset splitrightset mouse=amap <c-j> <c-w>jmap <c-k> <c-w>kmap <c-l> <c-w>lmap <c-h> <c-w>hmap <c-=> <c-w>=noremap <F2> :bprev<CR>noremap <F3> :bnext<CR>map <leader>td <Plug>TaskListmap <leader>g :GundoToggle<CR>map <leader>n :NERDTreeToggle<CR>map <leader>j :RopeGotoDefinition<CR>map <leader>r :RopeRename<CR>nmap <leader>a <Esc>:Ack!<CR>syntax onfiletype onfiletype plugin indent onlet g:pyflakes_use_quickfix = 0let g:pep8_map=‘<leader>8‘au FileType python set omnifunc=pythoncomplete#Completelet g:SuperTabDefaultCompletionType = "context"set completeopt=menuone,longest,previewautocmd bufnewfile *.py,*.pyx,*.pyi,*.pyd call setline(1,‘#!/usr/bin/env python‘) | \ call setline(2,‘#-*-coding: utf-8-*-‘) | \ call setline(3,‘‘) | \ call setline(4,‘# Version: 0.1‘) | \ call setline(5,‘# Author: Song Huang <[email protected]>‘) | \ call setline(6,‘# License: Copyright(c) 2015 Song.Huang‘) | \ call setline(7,‘# Summary: ‘) | \ call setline(8,‘‘) | \ exe "normal G"
我的vim配置