It would seem now, as never before, there should be a mass of cool IDEs for development on Django. And they are - take at least PyCharm or PyDev. But I never liked them. I spent all my career as a Python developer using SciTE + Scintilllua (
here is my config if you need one) and I was quite pleased. But the devil pulled me to try VIM with Emacs and I could not return to SciTE. No, this is an excellent editor, but most of the work I write the code and I can no longer imagine how it was possible to work with a mouse in a text editor or pull the hand to the arrows each time to switch to a new line, and then to End to go to end of line. All I had to do was just to set up my VIM for easy development on Django.
Color scheme
From the very first attempt, the choice fell on
Solarized Dark . I have never used it before, and in general I don’t really like blue themes for the editor, but this was a pleasant exception. Very thoughtful and pleasing to the eyes color scheme. Here is a screenshot from the site itself:

')
Syntax highlighting
I didn't need anything except Django Templates, so I stopped at that. Unless decided to download the latest version to highlight the Python-code.
django.vimpython.vimPyflakes, PEP8
In my opinion, very useful plugins. Pyflakes on the fly checks your code for errors, and the PEP8 hotkey checks it for compliance with the standard described in the
same document . If PEP8 rarely comes in handy, then Pyflakes often comes to the rescue when you forget to put a closing bracket or colon.
To check the code for compliance with the PEP8 standard, press
F5 .

It is worth noting that both of these plug-ins use external programs. On deb-based systems, they are installed as follows:
# apt-get install pep8
# apt-get install pyflakes
Plugins
Nerdtree
SiteConvenient file system browser.

Key | Description |
---|
o | open |
t | open in new tab |
i | split horizontally and open |
s | split vertically and open |
C | set the directory under the cursor as the root of the tree |
r | update the directory under the cursor |
R | update the current root of the tree |
m | show menu |
In my config, the
F2 key is used to open / close NERDTree.
NERDCommenter
SiteComfortable commenting code for many types of files.
Key | Description |
---|
<leader> cc | comment the current line or region in visual mode |
<leader> c <space> | comment / uncomment (toggle) the current line or region in visual mode |
minibufexpl
Site
I use it to see the current open buffers.
Files
My .vimrc and related files (.vim) can be picked up
here .