My .vimrc file I use for programming in vim
-
Copy the config settings from the
vimrc.txtfile -
Paste the config settings into your own vimrc file
-
Write the changes
-
Install vim-plug (https://github.com/junegunn/vim-plug)
-
Make a new directory in
~/.vimand call itundodir. This is a directory where undo history for edited files will be stored. -
Finally, in vim, run
:PlugInstallto install all of the plugins -
To setup YouCompleteMe, change directory to
~/.vimrc/plugged/YouCompleteMeand runpython3 install.py
To see the changes, you have to quit out of vim and open it again, or do :source % within vim.