Red Hat Bugzilla – Bug 127462
vi is too "featurefull"
Last modified: 2007-11-30 17:07:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
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.
Some possible fixes include:
shipping nvi as vi, instead of vim.
making vi a shell script that invokes vim -C
changing the vim defaults not to set nocompatable or ai
shipping vim-minimal, and not aliasing vi to vim.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
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.