diff --git a/init.vim b/init.vim index b969cba..1730fba 100644 --- a/init.vim +++ b/init.vim @@ -1,3 +1,4 @@ +let hostname = substitute(system('hostname'), '\n', '', '') " =============Plugins================== call plug#begin() Plug 'morhetz/gruvbox' @@ -101,8 +102,10 @@ map :TComment " =================Python============================== if has("win32") - let g:python3_host_prog="f:\\Tools\\Python\\python.exe" - let g:python_host_prog="f:\\Tools\\Python27\\python.exe" + if hostname == "perryWin64" + let g:python3_host_prog="f:\\Tools\\Python\\python.exe" + let g:python_host_prog="f:\\Tools\\Python27\\python.exe" + end end " =========================Deoplete====================