On Sat, May 13, 2023 at 02:01:41PM +0100, Chris Green wrote: > While, just now, mucking about in my .vilerc I saw the hypertext macro > that has been there for ages (copied from help):- > > 22 store-macro > ~force execute-hypertext-command > ~if ¬ $status > ~force forward-character-to-eol > ~endif > ~endm > bind-key execute-macro-22 ' ' > > So what does vile understand/see as a hypertext link? I tried a few > possibles (http://, file://) but nothing actually appeared to do > anything. Only file:// would seem to make any sense as a file to go > to and edit. Maybe I'm misunderstanding what it's supposed to do > (very likely!).
It's only used for vile's commands (no web browser). "execute-hypertext-command" ^X-z ( run the hypertext command attached to the region under the cursor ) Kevin added that stuff a while back: (kev) 980403 (p) + vile.hlp: Added new sections "Writing your own filters" and "Hypertext". + x11.c (multi_click): Added code to execute hypertext command, when present, on a double click. > Just curious really, I can't think of an application for me at the > moment. > > -- > Chris Green > -- Thomas E. Dickey <dic...@invisible-island.net> https://invisible-island.net
signature.asc
Description: PGP signature