I have seen that the .vim directory is in $XDG_CONFIG_HOME/, but it isn't. The closest I can find is /etc/vim/, but that does not contain what I need (namely, init.vim). Am I missing something?
I am running Vim 8.1, on Ubuntu 20.04.2 x86_64.
I have seen that the .vim directory is in $XDG_CONFIG_HOME/, but it isn't. The closest I can find is /etc/vim/, but that does not contain what I need (namely, init.vim). Am I missing something?
I am running Vim 8.1, on Ubuntu 20.04.2 x86_64.
Vim/Neovim config file/directory must be created manually.
For Neovim the default location is ~/.config/nvim/init.vim, unless you have custom $XDG_CONFIG_HOME set.
For Vim it's either ~/.vimrc or ~/.vim/vimrc.
In any case exact rules are described under :h $MYVIMRC topic of the help system.
/usr/share/vim*... personal vimrc you create yourself. Also, start vim and do:echo $VIMRUNTIME $MYVIMRCAND:version... with all that you should have everything you need. – B Layer Mar 03 '21 at 21:00init.vimin.vimin the installation guide. This is my first time messing with vim. – CATboardBETA Mar 03 '21 at 21:03:versionshows the order that system and personal (or "user") vimrcs are searched in. – B Layer Mar 03 '21 at 21:06:help startup,:help vimrc-intro, and that you likely need to create the right directories/files. – D. Ben Knoble Mar 03 '21 at 21:10