1
I have just started using vim and I find a bunch of vimrc files online. How exactly do I tell vim to use this vimrc as the default vimrc. I know I can copy every time but is there a better way to do this?
1
I have just started using vim and I find a bunch of vimrc files online. How exactly do I tell vim to use this vimrc as the default vimrc. I know I can copy every time but is there a better way to do this?
0
All you have to do is to save the downloaded file and save it to the home directory with the name .vimrc (the full path of the file would then be ~/.vimrc). VIM will automatically detect the file and use it appropriately.
I am using wsl Ubuntu on Windows so I am kinda restricted to commands. Another thing I was worried about was that the these vimrc files are named "vimrc" and not ".vimrc". How do I change that – user3262922 – 2018-11-18T17:45:05.060
@user3262922 run the command
mv vimrc .vimrc
from your home (~
) folder. – Shadoath – 2018-11-19T17:10:28.120