Added some stuff
This commit is contained in:
16
vim/.vimrc
16
vim/.vimrc
@@ -85,11 +85,11 @@ filetype plugin indent on " required
|
||||
" " Put your non-Plugin stuff after this line
|
||||
|
||||
"python with virtualenv support
|
||||
py << EOF
|
||||
import os
|
||||
import sys
|
||||
if 'VIRTUAL_ENV' in os.environ:
|
||||
project_base_dir = os.environ['VIRTUAL_ENV']
|
||||
activate_this = os.path.join(project_base_dir, 'bin/activate_this.py')
|
||||
execfile(activate_this, dict(__file__=activate_this))
|
||||
EOF
|
||||
"py << EOF
|
||||
"import os
|
||||
"import sys
|
||||
"if 'VIRTUAL_ENV' in os.environ:
|
||||
" project_base_dir = os.environ['VIRTUAL_ENV']
|
||||
" activate_this = os.path.join(project_base_dir, 'bin/activate_this.py')
|
||||
" execfile(activate_this, dict(__file__=activate_this))
|
||||
"EOF
|
||||
|
||||
Reference in New Issue
Block a user