mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
add c-space also for gvim, which doesn't work with <nul>, #42
This commit is contained in:
@@ -8,6 +8,7 @@ if g:jedi#auto_initialization
|
|||||||
setlocal omnifunc=jedi#complete
|
setlocal omnifunc=jedi#complete
|
||||||
" map ctrl+space for autocompletion
|
" map ctrl+space for autocompletion
|
||||||
inoremap <buffer> <Nul> <C-X><C-O>
|
inoremap <buffer> <Nul> <C-X><C-O>
|
||||||
|
inoremap <buffer> <C-Space> <C-X><C-O>
|
||||||
|
|
||||||
" goto / get_definition / related_names
|
" goto / get_definition / related_names
|
||||||
execute "noremap <buffer>".g:jedi#goto_command." :call jedi#goto()<CR>"
|
execute "noremap <buffer>".g:jedi#goto_command." :call jedi#goto()<CR>"
|
||||||
|
|||||||
Reference in New Issue
Block a user