﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
582	[vim] Info about runtimepath (a copy of Haiku's #8534)	siarzhuk	siarzhuk	"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)"	defect	closed	normal		app-editors/vim		normal	fixed	runtimepath	
