So you want a better IDE for developing django, huh? Why not give good old vim a try?
Use pathogen to maintain your vim plugins (and sanity).
Using this, you can clone the repositories listed here to
.vim/bundle/ and start using them
Also, consider adding your
.vim to a repository. Include
~/.vimrc to version control your
Syntax highlighting for django templates
Starting from vim 7.1, syntax highlight for django templates works out of the box. (Check your vim version using
If you are on an older version, use this plugin
Django snippets with snipmate
SnipMate provides commonly used “snippets”. This eliminates a lot of boiler plate code genreally required to start a django project from scratch.
Django specific snippets can be found at robhudson’s repository
Its very easy to write custom snippets in case you need them.
On-the-fly error checking with pyflakes
This one is not django specific, but it can save a lot of time spent debugging typos or silly mistakes.
PyFlakes detects errors in your python code and highlights the offending lines so you can easily rectify them.
Git integration with fugitive
Fugitive is a git plugin for vim.
This one integrates seamlessly with my workflow. You can add/reset files, commit them, view diff, blame, logs all within vim!
Auto-completion using pysmell
Pysmell is great for autocompleting your django project code.
Browse code with taglist
Taglist allows you to view your code structure and jump between classes/functions.
Write faster html using sparkup
python manage.py syncdb. Run
:makefrom your vim to start
use vimango for navigating your django project
Thank you for reading the Agiliq blog. This article was written by Javed on Nov 3, 2010 in vim .
You can subscribe ⚛ to our blog.
We love building amazing apps for web and mobile for our clients. If you are looking for development help, contact us today ✉.
Would you like to download 10+ free Django and Python books? Get them here