💾 Archived View for bjornwestergard.com › log › 2022-04-19-hypertext-emacs.gmi captured on 2022-04-28 at 17:31:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-03-20)

-=-=-=-=-=-=-

Hypertext in Emacs: find-file-at-point

The org-mode extension to emacs is popular in part because it lets you create and follow hyperlink between files. This is useful for keeping notes organized.

Depending on your needs, you may not need org-mode for simple linked notes. That's because there is a standard emacs keybinding that lets you open the file path under your cursor.

C-x C-f M-n

The first two keypresses invoke the "find-file" command, the last autocompletes using "find-file-at-point".

I find this particularly useful when I'm editing the notes, formatted as gemtext, that constitute this site. Thanks to this command, I haven't seen the need to install a special gemtext mode.

Documentation of find-file-at-point's generation of "future history"

find-file-at-point

See Also

Bjorn's Log