removed vimwiki from gitmodules. virtualenv in vimrc.
This commit is contained in:
@@ -133,3 +133,14 @@ let g:bufExplorerShowRelativePath=1
|
||||
set runtimepath^=~/.vim/bundle/ctrlp.vim
|
||||
let g:ctrlp_map = '<F3>'
|
||||
let g:ctrlp_cmd = 'CtrlP'
|
||||
|
||||
py << EOF
|
||||
import os.path
|
||||
import sys
|
||||
import vim
|
||||
if 'VIRTUAL_ENV' in os.environ:
|
||||
project_base_dir = os.environ['VIRTUAL_ENV']
|
||||
sys.path.insert(0, project_base_dir)
|
||||
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