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

#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 siarzhuk):

 Replying to [comment:2 mmadia]:
 > To note, installoptionalpackage is not capable of installing the vimrc
 file, though it won't prevent installation.
 >
 > {{{
 > SEARCH on <etc>vimrc = [ FDirName $(HAIKU_TOP) data etc vim ] ;
 > AddFilesToHaikuImage common etc vim : <etc>vimrc ;
 > }}}

 [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? In such case we have to fix those tools to
 using "nano" as default editor instead of adding dangling symlink on
 '''optional''' stuff. Frankly speaking - that was a main reason keeping
 vim in the Haiku tree - because nobody completely knows from where vi is
 still referenced. But you have opened this can of worms ;-) - and now it
 is required to find all refernces to "vi" and replace them with "nano". I
 think the "vi -> vim" symlink doesn't solve our problem properly.

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

Other related posts: