s*****w 发帖数: 1527 | 1 i'm using vim in windows,
it always points to $HOMEDRIVE for _viminfo,
i've set it to be c: in the control panel/environment settings,
but after reboot, $HOMEDRIVE is still U: which was a network drive.
any hints ? |
|
|
|
N****w 发帖数: 21578 | 4 it's your Windows that set it.
你们公司的机器 logon 后用户 HOME 存在网络盘上吧 |
|
p****o 发帖数: 1340 | 5 估计是系统设置的问题,不过你可以这样:
autocmd VimEnter rviminfo \path\to\_viminfo
autocmd VimLeave wviminfo \path\to\_viminfo
可能rviminfo需要写成"rviminfo!",你自己试一试吧。 |
|
|
|