Bug 127462 - vi is too "featurefull"
Summary: vi is too "featurefull"
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: vim
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-07-08 16:07 UTC by seph
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2004-07-21 14:06:37 UTC

Attachments (Terms of Use)

Description seph 2004-07-08 16:07:11 UTC
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):

How reproducible:

Steps to Reproduce:
run vi

Additional info:

Comment 1 Karsten Hopp 2004-07-21 14:06:37 UTC
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. 

Note You need to log in before you can comment on or make changes to this bug.