There are two python files as below.
$cat repo.py
class A(object):
attr_a = 'a'
$cat run.py
from repo import A
inst = A()
print inst.attr_a
My vimrc is like below
$cat ~/.vimrc
let mapleader=","
Accorindg to the jedi-vim docs, "<leader>d" will goto the definiation of variable. So I tried
Step1 vim open run.py
Step2 use : + enter goto command mode
Step3 input ,d A try to goto source code of A. But failed. (I have set leader to be , in .vimrc)
The actual result is that I deleted one line. It seems the vim still translate the d as the delete command. So why?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…