[haiku-bugs] Re: [Haiku] #5699: vim has not been completely removed

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Fri, 23 Apr 2010 07:31:41 -0000

#5699: vim has not been completely removed
--------------------------+-------------------------------------------------
 Reporter:  kaliber       |       Owner:  siarzhuk      
     Type:  bug           |      Status:  assigned      
 Priority:  normal        |   Milestone:  R1            
Component:  Build System  |     Version:  R1/Development
 Keywords:                |   Blockedby:                
 Platform:  All           |    Blocking:                
--------------------------+-------------------------------------------------

Comment(by mmadia):

 Replying to [comment:4 siarzhuk]:
 > [the copy of my comment from HaikuPort's Trac]
 >
 > In my opinion - the vimrc in common/etc/vim is a BeOS legacy. Modern
 versions of vim use ../share/vim/vimNN/ to look for configuration files.
 I'm going to check the contents of this file, collect all that can be
 useful for Haiku and remove it completely in favor of standard
 configuration files. Do you have any objections?
 >
 > For what we need that vi -> vim symlink introduced in http://dev.haiku-
 os.org/changeset/36082?  Is vi still required by some other Haiku utils
 using it as default editor?

 To be honest, I didn't realize that vimrc could be considered legacy or
 that vi -> vim may not be needed. (i'm more of an lpe fan) I figured
 moving those bits out of the default image and into the OptionalPackage
 file was at least a step in the right direction.

 Grokking the sources for 'vi' shows that {{{ less, ncurses, readline,
 ctags, libs/edit }}} have some notable references to 'vi'. For at least
 `less`, it still defaults to it.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5699#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: