2

A very helpful comment led me to investigate :help mode-switching where after typing :help mode I used autocomplete to explore which additional help topics contained mode.

This was a very large number and now I wonder if :help provides something like apropos: return a list of all topics that contain a certain word in their title.

2 Answers 2

4

You're probably looking for :helpgrep, which is mentioned in :help helphelp.

6
  • 1
    To get the actual list I additionally need :cwindow, it seems.
    – guntbert
    Dec 27, 2019 at 19:22
  • Well it fills the quickfix list @guntbert ; there is a location list variant as well.
    – D. Ben Knoble
    Dec 27, 2019 at 21:33
  • btw: your improvements to my edit suggestions are not lost on me - I learn from them :+1
    – guntbert
    Dec 28, 2019 at 19:52
  • 1
    @guntbert 😃 glad to hear it! I for one am glad to see your touch-ups (even to old Qs), but I generally think edits are most useful if, while correcting (for example) a spelling mistake, I go over the rest of the post for formatting, clarity, etc.
    – D. Ben Knoble
    Dec 28, 2019 at 20:10
  • I am certainly used to doing just that - but there are some nuances to the preferred style between different SE sites and I try to follow the fate of most of my suggestions - thx for being so thorough and for your patience.
    – guntbert
    Dec 28, 2019 at 20:23
1

To elaborate on @DBenKnoble answer, in VimHelp the asterisks are normally used to mark topics. So you can do

:helpgrep *mode-

To eliminate the most of "false positives".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.