Skip to main content

Questions tagged [plugin-jedi-vim]

Using the jedi autocompletion library for Vim

Filter by
Sorted by
Tagged with
1 vote
1 answer
413 views

How to use coc-jedi to help coc-pyright jump to pytest fixture definitions?

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 ...
1 vote
2 answers
133 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 ...
0 votes
1 answer
23 views

Setting "g:jedi#use_tabs_not_buffers" option in lazy.nvim in lua

I've started recently to use lazy.nvim to load plugins. I'm also trying to move the configuration from vimscript to lua, as well. Most changes seem to be straightforward, but there's one that I am not ...
0 votes
1 answer
70 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 ...
0 votes
2 answers
2k 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 ...
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 --...
1 vote
0 answers
106 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> ...
1 vote
1 answer
204 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 ...
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/...
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 ...
1 vote
1 answer
837 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-...
1 vote
0 answers
589 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 ...
2 votes
1 answer
193 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: " ...
1 vote
0 answers
587 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 ...
5 votes
0 answers
331 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 ...
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 ...
5 votes
2 answers
3k 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 ...
1 vote
1 answer
424 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 ...