diff --git a/autoload/jedi.vim b/autoload/jedi.vim index 4131650..7e52d2c 100644 --- a/autoload/jedi.vim +++ b/autoload/jedi.vim @@ -1,12 +1,12 @@ " ------------------------------------------------------------------------ " functions that call python code " ------------------------------------------------------------------------ -function! jedi#goto() +function! jedi#goto_assignments() Python jedi_vim.goto() endfunction -function! jedi#get_definition() +function! jedi#goto_definitions() Python jedi_vim.goto(is_definition=True) endfunction diff --git a/ftplugin/python/jedi.vim b/ftplugin/python/jedi.vim index ff0f221..a6189f0 100644 --- a/ftplugin/python/jedi.vim +++ b/ftplugin/python/jedi.vim @@ -21,10 +21,10 @@ if g:jedi#auto_initialization endif execute "inoremap ".g:jedi#completions_command." " - " goto / get_definition / related_names - execute "noremap ".g:jedi#goto_assignments_command." :call jedi#goto()" - execute "noremap ".g:jedi#goto_definitions_command." :call jedi#get_definition()" - execute "noremap ".g:jedi#usages_command." :call jedi#related_names()" + " goto / get_definition / usages + execute "noremap ".g:jedi#goto_assignments_command." :call jedi#goto_assignments()" + execute "noremap ".g:jedi#goto_definitions_command." :call jedi#goto_definitions()" + execute "noremap ".g:jedi#usages_command." :call jedi#usages()" " rename execute "noremap ".g:jedi#rename_command." :call jedi#rename()" " documentation/pydoc