reconquest / vim-pythonx

Python libraries for making coding in vim easier
27 stars 6 forks source link

python3 support #12

Closed vuleetu closed 4 years ago

vuleetu commented 6 years ago

Any plan for python3 support?

seletskiy commented 6 years ago

@vuleetu: nope. If you want, you can propose a change for it.

kovetskiy commented 6 years ago

@vuleetu btw, why do you need it? From my experience, python3 is much slower than python2 in Vim.

kleinjm commented 6 years ago

See https://robertbasic.com/blog/force-python-version-in-vim/ for a how to set your python version

Corey-Keller commented 4 years ago

TL;DR change all calls to 'py' into 'pyx' in "plugin/pythonx.vim" and "pythonx/px/autocommands.py" and python 3 seems to work.

The following commit from @ColinKennedy seems to be sufficient for everything to work with just python 3 (at least it does in my limited usage) https://github.com/ColinKennedy/vim-pythonx/commit/4a9adcf4aacb929757b58cf62054d1a42134708f

kovetskiy commented 4 years ago

Makes sense, added new commit: d8b45a48e35fecc819441fbf02bb0beb574a3096