[haiku-bugs] [Haiku] #8534: Vim - info about runtimepath

  • From: "janiczek" <trac@xxxxxxxxxxxx>
  • Date: Mon, 07 May 2012 14:32:41 -0000

#8534: Vim - info about runtimepath
-----------------------------+------------------------------
 Reporter:  janiczek         |        Owner:  nielx
     Type:  enhancement      |       Status:  new
 Priority:  normal           |    Milestone:  R1
Component:  Documentation    |      Version:  R1/Development
 Keywords:  vim runtimepath  |   Blocked By:
 Blocking:                   |  Has a Patch:  0
 Platform:  x86              |
-----------------------------+------------------------------
 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)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8534>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: