Description of problem: "vi" is an alias to vim. The vim with the shipped configuration is very very different than vi. I frequently find that this very inconvient, as I use vi to edit system configs. vim's autoindent and linebreak are exactly wrong almost all of the time. Please fix this. Version-Release number of selected component (if applicable): Some possible fixes include: shipping nvi as vi, instead of vim. changing the vim defaults not to set nocompatable or ai not aliasing vi to vim, since vim-minimal is also installed. see also #127462
closing as 'wontfix'. If someone installs vim-enhanced, we can safely assume that the full featured version is what the user wants. There are a few workarounds for you: - put an unalias vi in your .bashrc/.profile - remove /etc/profile.d/vim.* for systemwide changes - run '/bin/vi' if you want to run the minimal version, 'vi' if you want the full version.
> If someone installs vim-enhanced That's exactly my point. This behavior is an unreasonable default.
reopening the report won't change my mind.
of course. it was the additional comment. I wasn't sure you'd see if if I didn't reopen.
In a system with hundreds of users just because i installed vim-enhanced doesn't mean that all users want to use it. Actually i had a few users complaining about it. Is it easy to move /etc/profile.d/vim* to another package (vim-as-vi/whatever) from vim- enhanced ? This way it will be easy for the administrator to remove the alias if it's not wanted. (I have the same problem with bash-completion as well, some people love it and some hate it)