Created
April 30, 2012 00:02
-
-
Save TimFletcher/2554196 to your computer and use it in GitHub Desktop.
Vim Django Omnicomplete with Virtualenv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Install https://github.com/jmcantrell/vim-virtualenv | |
" If the appropriate environment variables are set this will automatically use | |
" the virtualenv's python within vim thus enabling omnicomplete. | |
let g:virtualenv_auto_activate = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PYTHONPATH=$HOME/Sites/foo | |
export PROJECT_HOME=$HOME/Sites/foo | |
export DJANGO_SETTINGS_MODULE=foo.settings | |
cd $HOME/Sites/foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment