Hacker News new | ask | show | jobs
by AndrewRadev 5463 days ago
I'm not really a Django user, but I was interested in the Vim section of the post. I work with Rails and my personal approach to setting framework-specific commands, mappings, etc. is by using the proj plugin: http://www.vim.org/scripts/script.php?script_id=2719. It's fairly simple, it just sources a project-specific vimfile when you tell it to. I keep a ton of settings in "~/.vim/projects/rails.vim" and I place a "runtime projects/rails.vim" in the project file. This kind of a workflow might give you more freedom in customizing your vim for Django projects, but it really depends on whether you can get used to that. Just a suggestion :).