Skip to content

Instantly share code, notes, and snippets.

@dsummersl
Created May 17, 2013 12:06
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 dsummersl/5598633 to your computer and use it in GitHub Desktop.
Save dsummersl/5598633 to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'guns/ultisnips.git'
Bundle 'Shougo/neocomplcache.git'
Bundle 'JazzCore/neocomplcache-ultisnips'
" to keep vim from complaining about ~/.vim/after...
Bundle 'tpope/vim-abolish'
filetype on
filetype plugin on
" Launches neocomplcache automatically on vim startup.
let g:neocomplcache_enable_at_startup = 1
" make the start length so long that it doesn't turn on 'automatically'
let g:neocomplcache_auto_completion_start_length = 30
call neocomplcache#custom_source('ultsnips_complete', 'min_pattern_length', 0)
inoremap <expr><C-\> neocomplcache#start_manual_complete(['ultisnips_complete'])
inoremap <expr><C-space> neocomplcache#start_manual_complete()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment