Created
July 20, 2012 01:08
-
-
Save t-miya/3148016 to your computer and use it in GitHub Desktop.
vimrc settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set modeline | |
set nobackup | |
set incsearch | |
set smartcase | |
set showmatch | |
set encoding=utf-8 | |
set fileencoding=utf-8 | |
"---------------------------------------------------------- | |
" neobundle.vim | |
"---------------------------------------------------------- | |
set nocompatible | |
filetype plugin indent off | |
if has('vim_starting') | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
call neobundle#rc(expand('~/.vim/bundle/')) | |
endif | |
NeoBundle 'L9' | |
NeoBundle 'scrooloose/nerdtree' | |
NeoBundle 'altercation/vim-colors-solarized' | |
NeoBundle 'nvie/vim-flake8' | |
NeoBundle 'gordyt/rope-vim' | |
filetype plugin indent on | |
"---------------------------------------------------------- | |
" NERD_tree.vim | |
"---------------------------------------------------------- | |
nnoremap <f2> :NERDTreeToggle<CR> | |
"---------------------------------------------------------- | |
" Python Settings | |
"---------------------------------------------------------- | |
filetype plugin on | |
autocmd FileType python set omnifunc=pythoncomplete#Complete | |
autocmd FileType python setl autoindent | |
autocmd FileType python setl smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class | |
autocmd FileType python setl expandtab tabstop=4 shiftwidth=4 softtabstop=4 | |
autocmd BufWritePost python call Flake8() | |
let g:flake8_ignore='E501' | |
let python_highlight_all=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment