vimrc

切り貼りしたものをメモ

$ ls ~/.vim/
NeoBundle.lock   neobundle.vim/   tsuquyomi/       vimproc.vim/     
jedi-vim/        syntastic/       typescript-vim/  
syntax on
set autoread
set nobackup
set incsearch
set ignorecase
set smartcase
set wrapscan
set smartindent
set autoindent
set showmatch
set formatoptions-=c
set showmatch
set smarttab
set paste
set tabstop=2
set shiftwidth=2
set softtabstop=0
set expandtab
set ruler
set number
set cursorline
set showcmd
set statusline+=%<%F
set statusline+=%r
set statusline=+[%{&fileformat}]
set backspace=indent,eol,start

autocmd FileType python nnoremap <C-e> :!python3 %<CR>

set history=1000

" Note: Skip initialization for vim-tiny or vim-small.
if 0 | endif

if &compatible
set nocompatible               " Be iMproved
endif

" Required:
set runtimepath^=~/.vim/bundle/neobundle.vim/

" Required:
call neobundle#begin(expand('~/.vim/bundle/'))

" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'

NeoBundle 'davidhalter/jedi-vim'
NeoBundle 'leafgarland/typescript-vim'

NeoBundle 'Shougo/vimproc.vim', {
\ 'build' : {
\     'windows' : 'tools\\update-dll-mingw',
\     'cygwin' : 'make -f make_cygwin.mak',
\     'mac' : 'make -f make_mac.mak',
\     'linux' : 'make',
\     'unix' : 'gmake',
\   },
\ }
NeoBundle 'Quramy/tsuquyomi'

NeoBundle 'scrooloose/syntastic'

let g:syntastic_javascript_checkers = ['eslint'] "Use eslint



" My Bundles here:
" Refer to |:NeoBundle-examples|.
" Note: You don't set neobundle setting in .gvimrc!

call neobundle#end()

" Required:
filetype plugin indent on

" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck