Need Help for help

34 views
Skip to first unread message

Tim Johnson

unread,
Apr 9, 2025, 2:15:08 PMApr 9
to MLVim
Using vim and gvim 9.1 on ubuntu 24.04

My local resources are at ~/.vim and system resources at
/usr/share/vim/vim91/

:help does not work

----------------------------

It returns E149: Sorry, no help for help.txt

:echo $VIMRUNTIME returns /usr/share/vim/vim91/ (set in .vimrc)

:set path returns
path=.,/usr/include,,,/usr/share/vim/vim91/doc/,~/.vim/doc/

The following lines at the end of .vimrc may be relevant

let $VIMRUNTIME="/usr/share/vim/vim91/"
execute pathogen#infect()
set path+=/usr/share/vim/vim91/doc/
set path+=/home/tim/.vim/doc/

I have used vim extensively in the past but am retired so haven't used
vim help in ages.

Pathogen is also new to me

I would like to use help from /usr/share/vim/vim91/, ~/.vim/doc,
~/.vim/docs and ~/.vim/bundle/<app>

I look forward to resolving this issue

thanks

tim




Tim Johnson

unread,
Apr 9, 2025, 6:03:05 PMApr 9
to MLVim
More problems

:h help

returns Sorry, help file "/usr/local/share/vim/doc/help.txt" not foundd?

Say what? I set $VIMUNTIME to usr/share/vim/vim91/ and help.txt is at
/usr/share/vim/vim91/doc/

More fun




Christian Brabandt

unread,
Apr 10, 2025, 1:18:08 AMApr 10
to vim...@googlegroups.com, MLVim
Why are you setting $VIMRUNTIME? Please check first if your vim works fine when starting with vim --clean

Thanks
Chris

> Am 10.04.2025 um 00:03 schrieb Tim Johnson <thjm...@gmail.com>:
>
> 
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> --- You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/vim_use/0708ef71-f5db-4481-b97b-2b2818756116%40gmail.com.

Igbanam Ogbuluijah

unread,
Apr 10, 2025, 3:20:26 AMApr 10
to vim...@googlegroups.com
FWIW :h help works on OS X with $VIMRUNTIME as /opt/homebrew/share/vim/vim91 — which I think is the equivalent path on Linux


Igbanam


Tim Johnson

unread,
Apr 10, 2025, 11:19:09 AMApr 10
to vim...@googlegroups.com


On 4/9/25 23:19, Igbanam Ogbuluijah wrote:
FWIW :h help works on OS X with $VIMRUNTIME as /opt/homebrew/share/vim/vim91 — which I think is the equivalent path on Linux


Igbanam

It looks like the path to help.txt is hardcoded in vim and the ubuntu install put it elsewhere.

A symlink took care of everything.

Thanks[Solved]

Christian Brabandt

unread,
Apr 10, 2025, 12:11:35 PMApr 10
to vim...@googlegroups.com

On Thu, 10 Apr 2025, Tim Johnson wrote:

> It looks like the path to help.txt is hardcoded in vim and the ubuntu install put it elsewhere.
>
> A symlink took care of everything.

No it is not and a default Ubuntu version works just fine. You really
should not set $VIMRUNTIME

Please read

:h $VIMRUNTIME

to find out more about it.

Thanks,
Christian
--
It is common sense to take a method and try it. If it fails,
admit it frankly and try another. But above all, try something.
-- Franklin D. Roosevelt
Reply all
Reply to author
Forward
0 new messages