Skip to content

Instantly share code, notes, and snippets.

@ivancrneto
Created December 24, 2014 16:39
Show Gist options
  • Save ivancrneto/728b3cbda386513701b4 to your computer and use it in GitHub Desktop.
Save ivancrneto/728b3cbda386513701b4 to your computer and use it in GitHub Desktop.
NeoBundle to .vimrc
if has('vim_starting')
set nocompatible " Be iMproved
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
let neobundle_readme=expand('~/.vim/bundle/neobundle.vim/README.md')
if !filereadable(neobundle_readme)
echo "Installing NeoBundle..."
echo ""
silent !mkdir -p ~/.vim/bundle
silent !git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim/
endif
" Required:
call neobundle#begin(expand('~/.vim/bundle/'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment