Last active
August 29, 2015 14:01
-
-
Save ReneFroger/495d08edd7b841f1e482 to your computer and use it in GitHub Desktop.
__vimrc for Shougo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" enable syntax detection and omnicomplete { | |
syntax on | |
set omnifunc=syntaxcomplete#Complete | |
"} | |
" SuperTab like snippets behavior { | |
imap <expr><C-l> neosnippet#expandable_or_jumpable() ? | |
\ "\<Plug>(neosnippet_expand_or_jump)" | |
\: pumvisible() ? "\<C-n>" : "\<TAB>" | |
smap <expr><C-l> neosnippet#expandable_or_jumpable() ? | |
\ "\<Plug>(neosnippet_expand_or_jump)" | |
\: "\<C-l>" | |
"} | |
" neocomplcache { | |
let g:neocomplete#enable_at_startup = 1 | |
let g:neocomplete#force_overwrite_completefunc = 1 | |
let g:neocomplete#enable_auto_select = 1 | |
" Snippets { | |
" Enable neosnippets when using go | |
let g:go_snippet_engine = "neosnippet" | |
"} | |
" } | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment