45aad1ed2c
If I use "man dirname" and select "basename" SEE ALSO basename(1), readlink(1) ^------^ then pressing <ret> to trigger man-jump selects everything from "ALSO" until "basename(1)" Obviously that's not the name of a man page, so it fails. When I select only "asename" it works. The bad selection happens because we use a combination of <a-?> and ? to extend the selection to a full link. This is more complicated than it needs to be; let's just select the surrounding WORD. This works fine because man page links never start mid-word, and trailing characters are ignored anyway. |
||
---|---|---|
.. | ||
detection | ||
filetype | ||
tools | ||
windowing |