5 ms·
> "Opening them from dired-mode already puts them into emacs, so" This also works globally with #'find-file-at-point (which isn't bound to a hotkey by default,
by perihelions 1y ago
> "Opening them from dired-mode already puts them into emacs, so"
This also works globally with #'find-file-at-point (which isn't bound to a hotkey by default, but should be: this is one of my most satisfying hotkeys. That function opens any filepath appearing as a string, in any context, in the working directory of that context—filepath strings in files, and filepath strings as outputs from shell commands, being the top two).
(It's like converting every file reference into a clickable URL—only, implicitly).
- mrechsteiner 1y agoThis works really well together with Embark (https://github.com/oantolin/embark https://github.com/oantolin/embark) as well. C-. then RET to open the file, or any other action you'd like to perform on it.
- ruricolist 1y agoIf you just do C-x C-f, M-n to get the "next completion" gives you the file at point.