Opened 3 years ago

Closed 3 years ago

Last modified 18 months ago

#8534 closed enhancement (duplicate)

Vim - info about runtimepath

Reported by: janiczek Owned by: siarzhuk
Priority: normal Milestone: R1
Component: Documentation Version: R1/Development
Keywords: vim runtimepath Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description (last modified by mmadia)

On UNIX Vim looks for runtime files and startup script at:

~/.vim/
~/.vimrc

On Haiku the paths are different and not so obvious to the end-user:

~/config/settings/vim/vimfiles/
~/config/settings/vim/vimrc

I think they should be documented better. I've seen few people on IRC struggling to find these paths (me included, of course :) ) ... I'm new to Haiku though, so I don't know if there's some sort of README for optional packages?

Or, maybe, can the optional package say something after successful installation? That could be the right place to put it, although not very persistent.

AFAIK, right now the path to vimrc is mentioned in /boot/common/data/vim/vim73/vimrc_example.vim - there's a line added:

"          for Haiku:  ~/config/settings/vim/vimrc

The path to the runtime files isn't mentioned anywhere user-friendly, it's defined somewhere in src/os_beos.h and the way I found it was when I googled the set runtimepath? vim command.

My environment:

  • Walter (hrev44122-dirty), GCC 2
  • VMware Fusion, MacBook (Intel)

Change History (6)

comment:1 Changed 3 years ago by siarzhuk

There are separate Trac at http://ports.haiku-files.org/ for any problems related to optional packages. Could you please drop the same bug in it? The Trac instance at http://dev.haiku-os.org is only for Haiku related bug, but optional packages problems are not welcomed here. :-\

Thank you for report. You are right, Vim documentation was practically not updated for Haiku specific changes. And this should be fixed. Please copy this ticket at Haiku-Ports Trac and assign it to me.

BTW, You could help me a lot if you attach corresponding patches to the ticket. ;-)

comment:2 Changed 3 years ago by siarzhuk

  • Owner changed from nielx to siarzhuk
  • Status changed from new to assigned

comment:3 Changed 3 years ago by janiczek

Oh, sorry about that, I didn't notice the Haiku Ports Trac.

I have just sent an e-mail to scottmc about joining Haiku Ports. When I have an account, I'll move the ticket there.

comment:4 Changed 3 years ago by siarzhuk

  • Resolution set to duplicate
  • Status changed from assigned to closed

Moved to Haiku Ports track: http://ports.haiku-files.org/ticket/582

comment:5 Changed 22 months ago by siarzhuk

NB: The situation was improved during working on vim 7.4 update. Look HaikuPorts for ticket 566 ticket 582 ticket 584 ticket 586 ticket 583 for more information.
Thank you for the pointing it out!

comment:6 Changed 18 months ago by mmadia

  • Description modified (diff)
Note: See TracTickets for help on using tickets.