Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created August 3, 2011 18:46
Show Gist options
  • Save kyleterry/1123459 to your computer and use it in GitHub Desktop.
Save kyleterry/1123459 to your computer and use it in GitHub Desktop.
" Don't allow snipmate to take over tab
autocmd VimEnter * ino <c-j> <c-r>=TriggerSnippet()<cr>
" Use tab to scroll through autocomplete menus
autocmd VimEnter * imap <expr> <Tab> pumvisible() ? "<C-N>" : "<Tab>"
autocmd VimEnter * imap <expr> <S-Tab> pumvisible() ? "<C-P>" : "<S-Tab>"
snor <c-j> <esc>i<right><c-r>=TriggerSnippet()<cr>
let g:acp_completeoptPreview=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment