2010-05-07 22 views

Trả lời

9

Bạn có thể thay đổi biến môi trường bên trong Vim bằng lệnh :let.

let s:portablepy = 'C:\portable\PortablePython_1.1_py2.5.4' 
" Add PortablePython's path to $PATH if running on Windows and PortablePython exists 
if (has('win32') || has('win64')) && isdirectory(s:portablepy) 
    let $PATH .= ';' . s:portablepy 
endif 
+0

Hoàn hảo. Chỉ cần những gì tôi đang tìm kiếm. – Jim

Các vấn đề liên quan