I want to learn the vim documentation given in the standard help file. But I am stuck on a navigating issue - I just cannot go to the next tag without having to position the cursor manually. I think you would agree that it is more productive to:
PS. while I was writing this question, I tried some ideas on how to resolve this. I found that searching pipe character with /|
is pretty close to what I want. But the tag is surrounded with two pipe '|' characters, so it's still not really optimized to use.
Simplify help navigationPress Enter to jump to the subject (topic) under the cursor. Press Backspace to return from the last jump. Press s to find the next subject, or S to find the previous subject. Press o to find the next option, or O to find the previous option.
Using a Specific Tags File To use the tags file, you'll need to open Vim and tell it where it is. Still in the Vim source directory, I ran vim and then typed :set tags+=tags to tell it to use the ./tags file. At this point, Vim knows about the tags file — you don't need to tell it to load the file.
Use the :tn
and :tp
sequences to navigate between tags.
If you want to look for the next tag on the same help page, try this search:
/|.\{-}|
This means to search for:
|
|
, matching as few as possible (that's what \{-}
does).|
This identifies the tags in the VIM help file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With