[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What actually are hypertext commands in vile?
From: |
Chris Green |
Subject: |
Re: What actually are hypertext commands in vile? |
Date: |
Sat, 13 May 2023 17:35:05 +0100 |
On Sat, May 13, 2023 at 10:20:14AM -0400, Thomas Dickey wrote:
> 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 )
>
As in execute a command like 'edit-file' that's in the text of a file?
--
Chris Green