Hacker News new | ask | show | jobs
by rakoo 603 days ago
Unsurprisingly this is something you could do in Plan 9:

    /path/to/file:/from.*to
opens the file and sets the selection to the range of text between "from" and "to". Bonus: you can use regular expressions.

It pains me to see the web having strayed so far from its focus on interlinking. It's easy to make a parallel when on one side device makers have taken control back by removing access to files and putting applications first (this is the only model on mobile), to the point that those makers have enormous control over apps' existence, and the web where applications are now the only way to access content, to the point that content may or may not available if the right API exists.

2 comments

The world wide web has moved beyond documents to apps. With apps there is nothing left to interlink.
vim users may be pleased to know that this can be done when vim is invoked from the command line, via the +/{pat} option. Sadly doesn't work for gF (yet).

See also hyperbole for emacs.