Skip to content

Instantly share code, notes, and snippets.

@supermomonga
Created July 4, 2013 01:01
Show Gist options
  • Save supermomonga/5924130 to your computer and use it in GitHub Desktop.
Save supermomonga/5924130 to your computer and use it in GitHub Desktop.
colorscheme desert
augroup MyAutoCmd
autocmd!
augroup END
" NeoBundle initalize
set nocompatible
filetype off
if has('vim_starting')
set runtimepath+=~/.vim/debug/bundle/neobundle.vim/
endif
call neobundle#rc(expand('~/.vim/debug/bundle'))
filetype plugin on
filetype indent on
syntax on
" NeoBundle packages
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'Shougo/vimproc', {
\ 'build' : {
\ 'mac' : 'make -f make_mac.mak'
\ }
\ }
NeoBundle 'Shougo/neocomplete'
NeoBundle 'Shougo/neosnippet'
let g:neocomplete#enable_at_startup = 1
" superTab like snippets behavior.
imap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: pumvisible() ? "\<C-n>" : "\<TAB>"
smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: "\<TAB>"
" For snippet_complete marker.
if has('conceal')
set conceallevel=2 concealcursor=i
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment