Sometimes it’s useful to be able to open the file you’re editing in Emacs in an external program. For instance - you might be editing some HTML file and you might want to see how is it looking in a browser. I use the following handy command to do so:
1 2 3 4 5 6 7 8 9 10 11 | |
On OSX it would use the open program to decide which program to open
the file with, otherwise you’d be prompted to enter the name of the
program in the minibuffer.
I find it convenient to bind the command to C-c o:
1
| |
This command is naturally part of Emacs Prelude.