On Wed, Nov 23, 2016 at 5:08 PM, James McCoy <[email protected]> wrote: > It could be an issue for anyone that didn't have a .vimrc file. > > Correct, and there are far more of those than I would have expected. > > I think root would be the most popular of that class of users. > > Right, so the environment that's most uncommonly used and typically for > quick tasks now behaves quite differently than experience has taught for the > past couple decades. >
IMHO, even for root it's better to have a vimrc; but nowadays, without a vimrc you don't anymore get 'compatible' but defaults.vim. That is IMHO "saner" but of course it is not backward-compatible. There are several ways to counteract it explicitly. On my home computer (which no one uses except me) my /root/.vimrc (vimrc for root) is actually a symlink to /home/tonymec/.vimrc (vimrc for my usual non-root username) which belongs to user "tonymec", group "users" so either of these login names can modify it and it will always be common to both, making Vim behave identically in both cases (considering that I explicitly set to the value I prefer any option known to me with different defaults for root and for others). Easier for my peace of mind. Best regards, Tony. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
