Created attachment 220026 [details] vim version info and order of processed config files The order of processing the config files seems to be odd, as /usr/local/share/vim/vim82/defaults.vim overrides /usr/local/etc/vim/vimrc . In practice, setting "mouse=r" in /usr/local/etc/vimrc doesn't have any effect, as the mouse option gets overriden in the defaults file.
This problem probably lead to the unanswered question at https://forums.freebsd.org/threads/global-configuration-for-vim.60321/ So either the documentation is incorrect or incomplete: /usr/local/etc/vim/vimrc System wide Vim initializations. "... which is overriden by settings in ..." or the order should be different.