Friday, December 26, 2008

Vim And Nose

Vim is probably not the most common editor amongst Python programmers, but I've been using Vim since the Amiga (about 15 years) and I have yet to find another editor I really like, notwithstanding the modal design inherited from vi, Vim's spiritual ancestor. I found an interesting plugin to integrate Vim and nose, a Python unit testing framework. Once the plugin (actually a pair of plugins, one for Vim, one for nose) is installed, you use ":make" to run your tests, and navigate through the errors with ":cc", ":cnext", and ":cprev". The system works great and shows that Vim is an effective editor for Python development.

No comments:

Post a Comment