company-jedi icon indicating copy to clipboard operation
company-jedi copied to clipboard

[help] Is it possible to to use `jedi:goto-definition` along with `company-jedi`?

Open avatar-lavventura opened this issue 4 years ago • 0 comments

I have to use jedi:goto-definition to jump into definitions. But when I do (add-hook 'python-mode-hook 'jedi:setup) jedi's and company's completions are get conflict. Is it possible to to use jedi:goto-definition along with company-jedi?


my setup:

(global-set-key "\C-x\C-j" 'jedi:goto-definition)
(global-set-key "\C-x\C-k" 'jedi:goto-definition-pop-marker)

(defun my/python-mode-hook ()
  (add-to-list 'company-backends 'company-jedi))

(add-hook 'python-mode-hook 'my/python-mode-hook)

avatar-lavventura avatar Feb 16 '21 15:02 avatar-lavventura