I've been using the default configuration of vim for a while and want to make a few changes. However, if I edit
~/.vimrc it seems to overwrite all other configuration settings of
/etc/vimrc and such, e.g. now there is no syntax highlighting. Here is what vim loads:
:scriptnames /etc/vimrc /usr/share/vim/vimfiles/archlinux.vim ~/.vimrc /usr/share/vim/vim80/plugin/... <there are a few>
In other words I want to keep whatever there is configured in vim, but simply make minor adjustments for my shell user.
What do I need to do to somehow weave
~/.vimrc into the existing configuration or what do I need to put into
~/.vimrc so it loads the default configuration?
My intended content of
set expandtab set shiftwidth=2 set softtabstop=2