由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - where's $HOMEDRIVE get set for vim ?
相关主题
My ubuntu at work suddenly rebootedksplice -- patching your kernel without reboot
请问如何把ubuntu的电脑连到公司的windows的network上面?进不去linux的问题
VoIP 打不出去了,跟换了个路由器有关系吗?how to enable Simplified Chinese input in ubuntu 9.04?
基于Windows 7内核的Chrome OS (转载)KDE里如何将一个非KDE的程序拖进快速启动栏里?
Linux Desktop search toolsubuntu笔记本分辨率调不回来了。
XFCE 比那个无奔头好看 80 倍求助,关于evince
Any laptop ubuntu user?amd64 architecture
kexec有人用过没hibernate doesn't work on ubuntu 9.10
相关话题的讨论汇总
话题: homedrive话题: vim话题: set话题: viminfo话题: rviminfo
进入Linux版参与讨论
1 (共1页)
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
2
it's your Windows that set it.
你们公司的机器 logon 后用户 HOME 存在网络盘上吧

【在 s*****w 的大作中提到】
: 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 ?

p****o
发帖数: 1340
3
估计是系统设置的问题,不过你可以这样:
autocmd VimEnter rviminfo \path\to\_viminfo
autocmd VimLeave wviminfo \path\to\_viminfo
可能rviminfo需要写成"rviminfo!",你自己试一试吧。
1 (共1页)
进入Linux版参与讨论
相关主题
hibernate doesn't work on ubuntu 9.10Linux Desktop search tools
升级到2.6.20,kernel panic 了 T__TXFCE 比那个无奔头好看 80 倍
Linux BSoDAny laptop ubuntu user?
请教:不能正常关机kexec有人用过没
My ubuntu at work suddenly rebootedksplice -- patching your kernel without reboot
请问如何把ubuntu的电脑连到公司的windows的network上面?进不去linux的问题
VoIP 打不出去了,跟换了个路由器有关系吗?how to enable Simplified Chinese input in ubuntu 9.04?
基于Windows 7内核的Chrome OS (转载)KDE里如何将一个非KDE的程序拖进快速启动栏里?
相关话题的讨论汇总
话题: homedrive话题: vim话题: set话题: viminfo话题: rviminfo