问题
I have got a .vimrc
file from one of my friends, however, vim
ignores it. How can I make vim
use .vimrc
? Thank you for the answer.
回答1:
Open vim and type ":version" and hit Enter. You will get paths to your vimrc files. Make sure that your vimrc file is not overwritten by another one (with a higher priority). Please refer to Open vimrc file.
EDIT: To see a home directory, type in vim :echo $HOME
来源:https://stackoverflow.com/questions/39419595/activation-of-vimrc-file