84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
~/.vimrc is loaded by default when vim starts. How to specify to load .vimrc elsewhere?
ringa_lee
vim -u 配置文件或gvim -U 配置文件。
vim -u 配置文件
gvim -U 配置文件
To load the Vim configuration in the specified directory, this is actually what I did (in the zsh initialization script):
path=(~/lily/bin $path) export SHELL=/bin/zsh export MYVIMRC=$HOME/lily/.vim/vimrc export VIMINIT="let &rtp='$HOME/lily/.vim,' . &rtp so $MYVIMRC" export VIMTMP=$HOME/lily/tmpfs
vim -u 配置文件
或gvim -U 配置文件
。To load the Vim configuration in the specified directory, this is actually what I did (in the zsh initialization script):