home/rc
Johannes Altmanninger 45aad1ed2c rc man: fix man-jump when selection contains first character of man link
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.
2022-07-30 22:17:32 +02:00
..
detection Move user mappings to <space> and keep/remove selection to , 2022-07-05 08:43:40 +10:00
filetype Move user mappings to <space> and keep/remove selection to , 2022-07-05 08:43:40 +10:00
tools rc man: fix man-jump when selection contains first character of man link 2022-07-30 22:17:32 +02:00
windowing Merge remote-tracking branch 'krobelus/embrace-menu-2' 2022-07-28 21:34:31 +10:00