let g:jedi#auto_initialization = 0 let g:jedi#auto_vim_configuration = 0 let g:jedi#show_call_signatures = 1 let g:jedi#popup_on_dot = 0 function! s:on_python_filetype() abort packadd jedi-vim setlocal omnifunc=jedi#completions nnoremap rn :call jedi#rename() nnoremap gd :call jedi#goto() nnoremap gr :call jedi#usages() nnoremap gy :call jedi#goto_stubs() nnoremap K :call jedi#show_documentation() call jedi#configure_call_signatures() endfunction autocmd FileType python call s:on_python_filetype()