HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #582 (closed defect: fixed)

Opened 3 years ago

Last modified 22 months ago

[vim] Info about runtimepath (a copy of Haiku's #8534)

Reported by: siarzhuk Owned by: siarzhuk
Priority: normal Milestone:
Component: app-editors/vim Version:
Severity: normal Keywords: runtimepath
Cc:

Description

This is ticket is a copy from the main Haiku Trac at  http://dev.haiku-os.org/ticket/8534 originally issued by user "janiczek".

===8<---------------------------------------------------------

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 OS:  ~/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

comment:1 Changed 22 months ago by siarzhuk

  • Resolution set to fixed
  • Status changed from new to closed

Fixed up during updating to vim 7.4.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/