Created
March 16, 2015 23:10
-
-
Save kitsuyui/be70106035b184ced4bd to your computer and use it in GitHub Desktop.
vimrc
This file contains hidden or 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 autoindent | |
set smartindent | |
au FileType python setlocal shiftwidth=4 softtabstop=4 expandtab | |
au FileType yaml setlocal shiftwidth=2 softtabstop=2 expandtab | |
au FileType Haskell setlocal expandtab | |
syntax on | |
set mouse=a | |
set clipboard+=unnamed | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
set number | |
set colorcolumn=80 | |
highlight LineNr ctermfg=darkgray | |
call neobundle#begin(expand('~/.vim/bundle/')) | |
if neobundle#has_fresh_cache(expand('$MYVIMRC')) | |
NeoBundleLoadCache | |
else | |
NeoBundleFetch 'Shougo/neobundle.vim' | |
NeoBundle 'scrooloose/syntastic' | |
NeoBundle 'scrooloose/nerdtree' | |
NeoBundle 'dag/vim2hs' | |
NeoBundle 'eagletmt/ghcmod-vim' | |
NeoBundle 'Shougo/vimproc.vim' | |
NeoBundle 'Shougo/neocomplcache' | |
NeoBundle 'ujihisa/neco-ghc' | |
NeoBundle 'thinca/vim-quickrun' | |
let g:syntastic_python_checkers = ['flake8'] | |
let g:syntastic_python_python_exec = '~/.pyenv/shims/python' | |
let g:syntastic_check_on_save = 0 | |
let g:syntastic_check_on_open = 0 | |
endif | |
call neobundle#end() | |
NeoBundleCheck | |
filetype on | |
filetype plugin indent on | |
if !argc() | |
autocmd vimenter * NERDTree|normal gg3j | |
endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment