tags:

views:

151

answers:

3

I love Tim Pope's rails.vim, and I'm wondering if there's an equivalent vim plugin for Django. I'm especially looking for easy navigation of the Django file structure via vim command mode.

+2  A: 

Theres nothing as well structured as that plugin.

As far as quick navigation goes I have this in my vimrc

http://code.djangoproject.com/wiki/UsingVimWithDjango#Mappings (That whole doc will give you some good starting points)

Also I've published a couple of offerings on vim.org for some nav tasks

http://www.vim.org/scripts/script.php?script%5Fid=2781 (For Reverse url and template jumping)

http://www.vim.org/scripts/script.php?script%5Fid=2780 (completing imports)

Other than that general purpose vim fu can take you a long way

michael
+3  A: 

I use django.vim for Django Templates

apphacker
+1  A: 

I've created a repo that I want to add a lot of branches to for vim config (django/python centric). There are already a few branches and some path-hacking for settings.py. Feel free to fork/branch and share!

http://github.com/skyl/vim-config-python-ide

I haven't gotten around to adding nerdtree, but I think that is a really popular plugin for a filebrowser.

skyl