Make Cmd-Space work for completion always. Display tab numbers

This commit is contained in:
yan
2011-12-15 23:24:22 -08:00
committed by Yan Pritzker
parent 83ad068ad2
commit 8f193284a9
4 changed files with 7 additions and 7 deletions

View File

@@ -12,8 +12,8 @@ let g:neocomplcache_max_list = 5
" words less than 3 letters long aren't worth completing
let g:neocomplcache_auto_completion_start_length = 3
" Choose completions using Apple-Space
inoremap <expr><D-Space> pumvisible() ? "\<C-n>" : "\<TAB>"
" Map standard Ctrl-N completion to Cmd-Space
inoremap <D-Space> <C-n>
" This makes sure we use neocomplcache completefunc instead of
" the one in rails.vim, otherwise this plugin will crap out