As of vim version 7.3.1178 , it is possible to store the ~/.vimrc file inside of the ~/.vim folder with the name vimrc.
$ opam user-setup install writes everything to ~/.vimrc (and creates this file if not present) even if ~/.vim/vimrc is present and should be used instead.
After moving the contents of the ~/.vimrc to ~/.vim/vimrc, $ opam user-setup status shows everything as "absent":
$ opam user-setup status
# Available editors and configuration status:
## ocamltop (installed)
.ocamlinit base current
## emacs (uninstalled)
.emacs.d/opam-user-setup.el base absent
tuareg absent
ocp-indent absent
.emacs base absent
## vim (installed)
.vimrc base absent
ocp-indent absent
## gedit (uninstalled)
## sublime3 (uninstalled)
$ opam user-setup --version
0.6
As of vim version 7.3.1178 , it is possible to store the ~/.vimrc file inside of the ~/.vim folder with the name vimrc.
$ opam user-setup install
writes everything to ~/.vimrc (and creates this file if not present) even if ~/.vim/vimrc is present and should be used instead.After moving the contents of the ~/.vimrc to ~/.vim/vimrc,
$ opam user-setup status
shows everything as "absent":