#8534: Vim - info about runtimepath -----------------------------+----------------------------- Reporter: janiczek | Owner: siarzhuk Type: enhancement | Status: closed Priority: normal | Milestone: R1 Component: Documentation | Version: R1/Development Resolution: duplicate | Keywords: vim runtimepath Blocked By: | Blocking: Has a Patch: 0 | Platform: x86 -----------------------------+----------------------------- Description changed by mmadia: Old 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) New 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: ~/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: <https://dev.haiku-os.org/ticket/8534#comment:6> Haiku <https://dev.haiku-os.org> Haiku - the operating system.