vimrc

set nu
set shiftwidth=4
set nobackup
set noswapfile

set tabstop=4
set softtabstop=4
set expandtab
set smartindent
set smarttab

set cindent
set autoindent
set history=100
set guifont=Nimbus\ Mono\ L\ Bold\ 14

let g:pydiction_location=‘~/.vim/tools/pydiction/complete-dict‘ 

set incsearch
set hlsearch
set showmatch

set guioptions=T
set ruler
"set nocompatiable

colorscheme desert
set noerrorbells

"set mouse=v
"set mouse=a
set paste

let NERDChristmasTree=1
let NERDTreeAutoCenter=1
let NERDTreeBookmarksFile=$VIM.‘/Data/NerdBookmarks.txt‘
let NERDTreeMouseMode=2
let NERDTreeShowBookmarks=1
let NERDTreeShowFiles=1
let NERDTreeShowHidden=1
let NERDTreeShowLineNumbers=1
let NERDTreeWinPos=‘left‘
let NERDTreeWinSize=31
nnoremap f :NERDTreeToggle
map <F6> :NERDTree<CR>

let Tlist_Auto_Open=1
let Tlist_Ctags_Cmd=‘/usr/bin/ctags‘
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
let Tlist_Use_Right_Window=1
let Tlist_Show_Menu=1
let Tlist_File_Flod_Auto_close=1

map <F5> :! /usr/bin/python %<CR>

execute pathogen#infect()
syntax on 
filetype plugin indent on

execute pathogen#infect(‘bundle/{}‘, ‘/home/caoqing/.vim/bundle/{}‘)

let g:syntastic_python_checkers=[‘flake8‘]
let g:syntastic_aggregate_errors=1

autocmd FileType python map <buffer> <F3> :call Flake8()<CR>
let g:flake8_builtins="_,apply"
let g:flake8_ignore="E501,W293"
let g:flake8_max_line_length=99
let g:flake8_max_complexity=10
"let g:flake8_cmd="/opt/strangebin/flake8000"
"let g:flake8_quickfix_location="topleft"


郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。