Questions tagged [plugin-jedi-vim]

Using the jedi autocompletion library for Vim

Filter by
Sorted by
Tagged with
1 vote
0 answers
118 views

How to use coc-jedi to jump to definitions, and coc-pyright for everything else?

I really enjoy coc-pyright and use it all the time for everything. But it can't jump to Pytest fixture definitions, and there are no plans to include such a feature. Pyright doesn't include any ...
LondonRob's user avatar
  • 297
0 votes
1 answer
53 views

Vim: mapping tab to ctrl space only if the cursor is in front of a non whitespace character

I am using the jedi-vim extension and really don't like pressing ctrl-space to bring up auto-complete. I would like to use tab, but also obviously when coding I need tab for indentation as well. I ...
hshah's user avatar
  • 1
0 votes
2 answers
1k views

Go to definition with LSP

I'm trying to use Jedi to do "jump-to-definition". For example, if my cursor is on MLPClassifier, I want to be able jump to the place where that class is defined in Python code from the ...
efthimio's user avatar
  • 101
1 vote
0 answers
83 views

Accessing python dataframe columns in vim editor upon pressure of a key

I have the following situation import pandas as pd T = read_csv("MyFile") I would like to have a list of the dataframe T columns when I type T[" and then I hit a key like <tab> ...
Barzi2001's user avatar
  • 481
1 vote
2 answers
118 views

jedi-vim prevents mapping [[ to * and ]] to #

jedi-vim appears to prevent mapping [[ to # and ]] to * mapping does not alter behaviour produced by [[ or ]] in .py files when jedi-vim in bundle folder (and does alter behaviour in .py files ...
Surprised's user avatar
1 vote
1 answer
187 views

How to execute `zz` command after each Jedi jump to defenition command?

I am using davidhalter/jedi-vim plugin to navigate through Python definitions. If a definition is in the same file, the cursor is placed at the top or bottom of the screen. In these cases I usually ...
niekas's user avatar
  • 1,545
3 votes
1 answer
3k views

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/...
Tabataba's user avatar
1 vote
1 answer
796 views

getting vim to autocomplete python methods

I am coming from statically types languages, but I will have to be using python for the next few years and I want to get my setup as smooth as possible. Right now I am using vim-jedi, and deoplete-...
Joff's user avatar
  • 165
1 vote
0 answers
587 views

Windows + Vim + Python2 + Python3 = Path nightmare

I am using Vim 8.0.0326 64-bit from the tuxproject with pathogen. I have 64-bit versions of Python installed in three locations: Python 2.7 (64) - C:\Python27 Python 3.6 (64) - C:\Python36 Conda with ...
arkottke's user avatar
  • 111
14 votes
7 answers
15k views

how to change python interpreter used by jedi-vim

I have Anaconda (including python3.5.2), VIM (7.4) and Jedi-VIM installed on my system. There was also a python installed on the linux system by default. The autocompletion is working on base ...
R. Doe's user avatar
  • 321
2 votes
1 answer
191 views

Imaps automatically removed when in "completion mode"?

I have a strange problem with completion and my cursor movement redefinitions and the excellent jedi-vim plugin with supertab. I have in my .vimrc these maps for vertical movement in visual lines: " ...
Rmano's user avatar
  • 748
1 vote
0 answers
585 views

How to use external python modules with NeoComplete?

After trying out many auto-completion engines for Vim, NeoComplete combined with Jedi seems like a good choice for python development. However, I can't get it to use external libraries like PySide (Qt ...
tommyip's user avatar
  • 219
5 votes
2 answers
2k views

Can't get Jedi's autocompletion on SuperTab

I installed both plugins using Pathogen, but they don't work together as it should be. That is, if I use TAB, I get SuperTab's completion (autocomplete what I have previously written) whereas if I use ...
user avatar
0 votes
1 answer
1k views

Supertab or Jedi for Python Autocompletion

I'm trying to add a good Tab autocompletion plugin for VIM and I've found Jedi, but on its docs it says to use Supertab. I don't understand the difference between the two. I'm writing Python and I ...
canyon289's user avatar
  • 103
1 vote
1 answer
422 views

jedi-vim and vim-latex buffers problems?

I have posted an issue on github, but I am asking here too to see if someone can point me to an answer... I have installed jedi-vim and I find it really nice to edit python files. But I came across a ...
Rmano's user avatar
  • 748
5 votes
0 answers
323 views

Why does the vim-jedi popup have weird line wrapping?

When I'm nearing the right-hand side of my vim window, the vim-jedi's pop has some weird line-wrapping behavior: Is this normal behavior? How can I get the popup window to be shifted leftwards and ...
drs's user avatar
  • 3,018
2 votes
1 answer
3k views

Vim doesn't find jedi, even though it's right there!

I have installed jedi-vim using Vundle, adding this line to my .vimrc and running :PluginInstall. Plugin 'davidhalter/jedi-vim' The jedi-vim docs say I can install jedi using git submodule update --...
drs's user avatar
  • 3,018