Last active
March 21, 2016 02:07
-
-
Save Shusei-E/89b4ed836b0add6f79a9 to your computer and use it in GitHub Desktop.
This file contains 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
call neobundle#begin(expand('~/.vim/bundle/')) | |
... | |
" Geeknote | |
NeoBundle 'neilagabriel/vim-geeknote' | |
nnoremap <Leader>gl :Geeknote<cr> | |
nnoremap <Leader>gs :GeeknoteSearch<Space> | |
nnoremap <Leader>gc :GeeknoteCreateNote<Space> | |
let g:GeeknoteMaxExplorerWidth=60 | |
let g:GeeknoteFormat="markdown" | |
call neobundle#end() " この前に入れること |
This file contains 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
" 参考: http://qiita.com/tmsanrinsha/items/cfa3808b8d0cc915cd75 | |
" VimのPythonインターフェースのパスの問題を解消する | |
" Geeknote使うときのPythonの問題の解消 | |
NeoBundleLazy 'neilagabriel/vim-geeknote', { | |
\ 'autoload': {'filetypes': ['python']} | |
\} | |
: | |
" pythonのsys.pathの設定 " {{{ | |
let s:python_path = system('python -', 'import sys;sys.stdout.write(",".join(sys.path))') | |
python <<EOM | |
import sys | |
import vim | |
python_paths = vim.eval('s:python_path').split(',') | |
for path in python_paths: | |
if not path in sys.path: | |
sys.path.insert(0, path) | |
EOM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment