Make Cmd-Space work for completion always. Display tab numbers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user