うちのいぬ Tech Blog

Tech Blog of Uchinoinu/My dog

My First Neobundle

NeoBundle is ...

read this.

Install

$ mkdir -p ~/.vim/bundle
$ git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim

Setup

write configuration at ~/.vimrc for NeoBundle

"---------------------------
" Neobundle Settings
"---------------------------
" set directory path to manage bundle
set runtimepath+=~/.vim/bundle/neobundle.vim/
 
" Required:
call neobundle#begin(expand('~/.vim/bundle/'))
 
" manage neobundle by neobundle
NeoBundleFetch 'Shougo/neobundle.vim'
 
" HERE!! WRITE PLUGINGS!!
 
call neobundle#end()
 
" Required:
filetype plugin indent on
 
" uninstallede plungins checker
NeoBundleCheck
 
"-------------------------
" End: Neobundle Settings.
"-------------------------

reflect

$ source ~/.vimrc

Add plugins

" HERE!! WRITE PLUGINGS!!

" NERDTree
NeoBundle 'scrooloose/nerdtree
 
call neobundle#end()
$ vim

Screen Shot 2015-03-26 at 19.06.22.png

type y, start installing

some other plugins

NeoBundle 'Townk/vim-autoclose'
NeoBundle 'mattn/emmet-vim'
NeoBundle 'thinca/vim-quickrun'
NeoBundle 'grep.vim'
NeoBundle 'scrooloose/syntastic'
$ vim
let g:syntastic_javascript_checker = "jshint"
let g:syntastic_check_on_open = 0 "never check at opening file
let g:syntastic_check_on_save = 1 "check at saving file
$ source ~/.vimrc