Skip to content

Instantly share code, notes, and snippets.

@amerlyq
Created December 21, 2015 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amerlyq/83183bc2b5215f284d80 to your computer and use it in GitHub Desktop.
Save amerlyq/83183bc2b5215f284d80 to your computer and use it in GitHub Desktop.
vimrc template for ag.vim issues
set nocompatible
set encoding=utf-8
let $NEOBUNDLE=expand('/tmp/bundle/neobundle.vim')
if !filereadable(expand('$NEOBUNDLE/README.md'))
exe printf('!git clone --depth=1 %s',
\ 'https://github.com/Shougo/neobundle.vim') $NEOBUNDLE
endif
set runtimepath^=$NEOBUNDLE
let g:neobundle#default_options = {}
let g:neobundle#types#git#default_protocol = 'https'
let g:neobundle#types#git#clone_depth = 1
let g:neobundle#types#git#enable_submodule = 1
call neobundle#begin(expand('/tmp/bundle'))
NeoBundleFetch 'Shougo/neobundle.vim' " Manage self by itself
NeoBundle 'albfan/ag.vim'
call neobundle#end()
filetype plugin indent on " Required!
syntax enable
NeoBundleCheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment