Opened 13 years ago
Last modified 11 years ago
#8534 closed enhancement
Vim - info about runtimepath — at Initial Version
Reported by: | janiczek | Owned by: | nielx |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Documentation | Version: | R1/Development |
Keywords: | vim runtimepath | Cc: | |
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
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)