Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
ぱいそんよう
filetype plugin indent off " required!
if has('vim_starting')
set runtimepath+=~/.vim/bundle/neobundle.vim/
call neobundle#rc(expand('~/.vim/bundle/'))
endif
" let NeoBundle manage NeoBundle
" required!
"NeoBundle 'Shougo/neobundle.vim'
" recommended to install
"NeoBundle 'Shougo/vimproc'
" after install, turn shell ~/.vim/bundle/vimproc, (n,g)make -f your_machines_makefile
NeoBundle 'Shougo/vimshell'
NeoBundle 'Shougo/unite.vim'
NeoBundle 'Shougo/neocomplcache'
NeoBundle 'Shougo/vimfiler'
NeoBundle 'Shougo/vimfiler'
NeoBundle 'thinca/vim-quickrun'
NeoBundle 'thinca/vim-ref'
NeoBundle 'vcscommand.vim'
NeoBundle 'Source-Explorer-srcexpl.vim'
NeoBundle 'trinity.vim'
NeoBundle 'taglist.vim'
NeoBundle 'The-NERD-tree'
NeoBundle 'vim-jp/vimdoc-ja'
NeoBundle 'JavaScript-syntax'
NeoBundle 'jslint.vim'
NeoBundle "nathanaelkane/vim-indent-guides"
NeoBundleLazy "jmcantrell/vim-virtualenv"
NeoBundleLazy "lambdalisue/vim-django-support"
NeoBundle "davidhalter/jedi-vim"
NeoBundle 'nvie/vim-flake8'
NeoBundle 'tomasr/molokai'
filetype plugin indent on " required!
"
" Brief help
" :NeoBundleList - list configured bundles
" :NeoBundleInstall(!) - install(update) bundles
" :NeoBundleClean(!) - confirm(or auto-approve) removal of unused bundles
syntax on
set enc=utf-8
set fenc=utf-8
set showmatch showmode showcmd
set shiftwidth=4 tabstop=4 expandtab
set autoindent smartindent
set hlsearch incsearch
set imactivatekey=C-space iminsert=0 imsearch=0
set ambiwidth=double
set laststatus=2
"set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P
set statusline=%<%f\ %m%r%h%w%y%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P
set modeline
set list
"set listchars=tab:\ \ ,eol:\ ,trail:-
"set listchars=tab:>.,eol:\ ,trail:_,extends:\
highlight JpSpace cterm=underline ctermfg=Blue guifg=Blue
au BufRead,BufNew * match JpSpace / /
"set mouse=a
"set ttymouse=xterm2
source $VIMRUNTIME/macros/matchit.vim
highlight Pmenu ctermfg=Black ctermbg=Grey
highlight PmenuSel ctermbg=Blue
highlight PmenuSbar ctermbg=Cyan
autocmd BufNewFile,BufRead *.tpl setlocal shiftwidth=2 tabstop=2 expandtab filetype=smarty.html
autocmd BufNewFile,BufRead *.css setlocal shiftwidth=4 tabstop=4 expandtab
autocmd BufNewFile,BufRead *.less setlocal shiftwidth=4 tabstop=4 expandtab filetype=less
autocmd BufNewFile,BufRead *.html setlocal shiftwidth=2 tabstop=2 expandtab
autocmd BufNewFile,BufRead *.js setlocal shiftwidth=2 tabstop=2 expandtab foldmethod=manual
autocmd BufNewFile,BufRead *.py setlocal shiftwidth=4 tabstop=4 expandtab
autocmd Filetype * set formatoptions-=ro
"autocmd BufNewFile,BufRead *.less setf less
autocmd vimenter * NERDTree
" キーワード補完を有効に
set complete+=k
"vim-indent-guides
let g:indent_guides_enable_on_vim_startup=1
let g:indent_guides_guide_size = 2
let g:indent_guides_auto_colors=0
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=red ctermbg=3
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4
" vim-flake8
let g:flake8_builtins="_,apply"
autocmd BufWritePost *.py call Flake8()
set backspace=indent,eol,start
set noswapfile
set number
set textwidth=0
set list
set textwidth=0
set nocscopetag
" colorschema
colorscheme molokai
hi Normal ctermbg=none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment