Is there a command in the Vim editor to find the .vimrc file location?
Is there a command in the Vim editor to find the .vimrc file location?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just try doing the following:
You will get an output which includes something like:
As noted by Herbert in comments, this is where
vimlooks forvimrcs, it doesn’t mean they exist.You can check the full path of your
vimrcwithIf the output is empty, then your
vimdoesn’t use a uservimrc(just create it if you wish).