LoginSignup
0
1

More than 3 years have passed since last update.

Pythonで定義元や定義先を参照できるjedi-vimのショートカットコマンド

Posted at

jedi-vimは、VimにおけるPythonの入力補完ツール。
入力補完だけでなく、定義先や定義元へのジャンプもできたりする。
JavaのEclipseなどのIDEツールで使える機能みたいなやつ。

コマンド忘れがちなので、備忘録として書いておきます。

項目 キー 説明
g:jedi#completions_command <Ctrl-Space> 補完開始
g:jedi#goto_command <leader>d Definition(またはAssignment)に移動
g:jedi#goto_assignments_command <leader>g Assignmentに移動
g:jedi#documentation_command <K> pydoc表示
g:jedi#rename_command <leader>r 変数リネーム
g:jedi#usages_command <leader>n 使用箇所表示
:Pyimport :Pyimport モジュールのオープン
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1