Questions tagged [jedi-vim]

jedi-vim is a is a VIM binding to the autocompletion library Jedi.

74 questions
18
votes
1 answer

Does jedi-vim conflict with YouCompleteMe?

YouCompleteMe (YCM) and jedi-vim are two vim plugins that provide autocompletion, and both use jedi underneath for Python. However it's nice to have both since jedi-vim provides some useful features in addition to documentation, like 'go to…
joeforker
  • 40,459
  • 37
  • 151
  • 246
12
votes
2 answers

jedi-vim how to jump to the definition of a function in other file

I am new to jedi-vim, and I do not know how to jump the definition of a function in other file. The jedi-vim's doc is: The following are parts of them: NOTE: subject to change! let g:jedi#goto_command = "d" let…
GoingMyWay
  • 16,802
  • 32
  • 96
  • 149
12
votes
2 answers

vim-jedi autocomplete not working

I just installed jedi-vim with vundle My vim version is 7.3.429. I installed jedi vi pip every time I hit . or I get this error. Omni completion (^O^N^P) Pattern not found when I searched here for this pattern I found a solution to use…
HWM-Rocker
  • 587
  • 2
  • 8
  • 17
10
votes
5 answers

Can't get the jedi-vim plugin to work

I'm trying to use the jedi-vim plugin for Python autocompletion but I can't get it to work. I have Vim 7.3, and here's what I did: 1- clone the code from git clone http://github.com/davidhalter/jedi-vim path/to/bundles/jedi-vim 2- copy…
jul
  • 36,404
  • 64
  • 191
  • 318
8
votes
2 answers

jedi-vim omni completion with not standard library

I read the README of the jedi-vim. https://github.com/davidhalter/jedi There are screenshots of omni completing with a non-standard library (Django). I installed django by pip and tried exact same code to test omni completion of Django, but it…
supermomonga
  • 155
  • 2
  • 7
6
votes
1 answer

jedi-vim return to old position after jump with goto assignments/definitions

I'm using vim with jedi/jedi-vim when I develop python code and I use extensively d (goto definitions) and/or g (goto assignments). I can use '' to return to the line before the jump, but only within the same file. Is there a way to…
ByteNudger
  • 1,545
  • 5
  • 29
  • 37
5
votes
1 answer

Vim supertab and jedi-vim

Posting as a follow up to How to check if SuperTab and jedi-vim is activated? and have done what Ingo Karkat proposed. Now I wonder what is broken and how I fix it. Here is the output: :verbose imap i SuperTabForward …
JDW
  • 175
  • 3
  • 12
5
votes
1 answer

How to check if SuperTab and jedi-vim is activated?

As the title states, how do I check if a plugin is loaded? When I hit tab (for SuperTab) all I get is the ordinary character "tab" inserted in my file and when I hit ctrl-space I just get thrown out of insert-mode (same behavior as hitting ESC)
JDW
  • 175
  • 3
  • 12
3
votes
0 answers

Omni completion pattern not found for some modules

I've compiled vim 8.1 from this GitHub link, before I was using vim 8.0 and didn't have any issues. Now, for some reason, after importing modules like numpy, pandas, matplotlib and more, it does not show me the available functions for each module,…
3
votes
1 answer

jedi-vim doesn't find python2 dist-packages, but python3 yes

Jedi-vim does autocompletion for python3 dist-packages, but can't fnd python 2.7 dist-packages. I run my program using python 2 without problem. Everything else runs correctly. I found out that vim is running with python3. I'm using Ubuntu 16.04…
3
votes
3 answers

Position of the Vim scratch window

I'm trying the Vim plugin Jedi-vim and it would open a preview-window while doing autocomplete and close when it's done. This may cause the cursor and the code to jump in term of the location in the physical LCD screen and it makes my eye…
huggie
  • 17,587
  • 27
  • 82
  • 139
3
votes
3 answers

Jedi-vim doesn't work correctly

I have a issue with VIM. I'm trying to install jedi-vim with Vundle plugin, and typing this "example": import math math. after dot i get popup with autocomplete. Really not bad, but, i cant choose function/method/class/etc. what i want…
Relrin
  • 760
  • 2
  • 10
  • 28
2
votes
3 answers

autocompletion for own gobject derived library in python using jedi-vim using gobject introspection

I'm trying to create a shared C library that uses the gobject library as foundation. So my object inherits in GObject speak from GObject. GObject allows bindings to all different scripting languages such as Python via GObject introspection. Then…
hetepeperfan
  • 4,292
  • 1
  • 29
  • 47
2
votes
1 answer

Python 3.6.8 - Jedi - ImportError: cannot import name 'traverse_parents'

When running import jedi in python 3.6.8 I get the following import error (see end of post for full traceback): ... from jedi.common import traverse_parents ImportError: cannot import name 'traverse_parents' I checked in…
jwav
  • 615
  • 5
  • 13
2
votes
0 answers

jedi-vim cannot initialize python

I installed jedi-vim with Pathogen. I want it to use my anaconda python which is python 3.6 and not my system python. I have edited my $PATH variable in my .bashrc file to: export PATH="/opt/anaconda/3-5.0.0.1/bin:$PATH" and I have pip installed…
Tabataba
  • 21
  • 1
  • 4
1
2 3 4 5