Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Django port of rails.vim
VimL
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
autoload
doc
plugin
vimwiki
README.markdown

README.markdown

vim-reinhardt

Quickfast power tools for using vim to develop Django applications.

Repository status

Status: Inactive.

When I wrote this plugin, I was working at a Django shop and used this plugin daily. It was a great resource of gaining speed, and since it was my first big vimscript plugin I learned tons.

However, since I don't work there anymore and don't use Django in any of my own projects, I have no real reason to keep developing this plugin. If anyone likes it and wants to carry the torch I would be more than happy to have a little handover of it.

Screenshot and features

Everybody loves screenshots!

Screenshot showcasing one of the plugins navigation capabilities; Direct navigation to models and their methods, with tab completion for everything. Further features below:

  • Easy navigation of the Django directory structure. gf considers context and knows about templates and i18n keys. There are commands defined for moving between all the key files in a Django project; :Rmodel for models, :Rview for views etc. Everything has tab completion on steroids. :help reinhardt-navigation

  • manage.py wrapping with tab completion for the default commands and any command that your project defines.

  • i18n awareness and helpers. When you're currently on a line containing a i18n translation key, the translated message will be echoed below your statusline. You can also use gf on a translation key to go to it's definition in the django.po file for the current language.

  • Integration to other quickfast plugins in the vim universe. vim-reinhardt currently gain speed bonuses should you have have ctrlp.vim installed.

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/thiderman/vim-reinhardt.git

Once help tags have been generated, you can view the manual with :help reinhardt.

FAQ

I installed the plugin and started vim. Why does only the :Reinhardt command exist?

This plugin cares about the current file, not the current working directory. Edit a file from a Django project or application, that is any file that has a parent directory that contains either a manage.py (project) or a models.py (application).

Contributing

If your commit message sucks, I'm not going to accept your pull request. Tim Pope explained very politely dozens of times that his general guidelines are absolute rules on his repositories, and I agree with them and apply them to my repositories as well. And please, if I ask you to change something, git commit --amend.

License

Copyright (c) Lowe Thiderman. Distributed under the same terms as Vim itself. See :help license.

Something went wrong with that request. Please try again.