K
K
kisoluck2016-07-18 15:30:44
linux
kisoluck, 2016-07-18 15:30:44

How to make python IDE from VIM?

Please tell me a simple, fast and reliable way to make a console IDE out of VIM, mainly for Python (although maybe not only). Googled, found several guides offering to download something from github, manually edit, install, it all works somehow crookedly, I did not find suitable detailed and clear descriptions.
Who uses VIM as an IDE, please share your experience, how did you set it up, what plugins did you install, where to read?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
B
Bojczuk, 2016-07-18
@Bojczuk

download something from github, manually edit, install, it all works somehow crookedly, I did not find suitable detailed and clear descriptions

And it will not be different with Wim.

Q
qazasd, 2016-07-18
@qazasd

1. You go through the vimtutor (included in the vim package).
2. A bunch of articles https://habrahabr.ru/search/?q=python+vim+ide#n
But since you cannot find these articles on your own, then your colleagues are right - Vim is not for you.

C
Crazy_Script, 2017-06-23
@Crazy_Script

Vim as an IDE for Python development
here the author describes in detail the installation and configuration of Vim for Python development, and installs all the necessary plugins for the convenience of coding

S
Stanislav Gorovoy, 2016-07-18
@Cnfc19932

Of course, I'm not a vim guru, but I think that it is not for you.

L
Leks, 2016-07-19
@Leksnsk

I just started learning python, while I use such a bundle, I don’t know if it’s suitable for serious development)
+

Pydiction for auto-adding to vim
download www.vim.org/scripts/script.php?script_id=850 put in .vim /plugin/ folder
in .vimrc add:
filetype plugin on
let g:pydiction_location = '.vim/plugin/pydiction- 1.2.3/pydiction/complete-dict'
+
For auto-completion in python:
Put in ~/.pyrc file:
import rlcompleter
import readline
readline.parse_and_bind("tab: complete") # autocomplete

Add to ~/.bashrc:
export PYTHONSTARTUP="${HOME}/.pyrc"
export PYTHONIOENCODING="UTF-8"

As a result, something like this is obtained:
You can also add NERDtree here, but something could not be mastered the first time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question