Open a file in a new Emacs window

emacsclient

  • Open files in an existing Emacs server.
    See also `emacs`.
    More information: <https://www.emacswiki.org/emacs/EmacsClient>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

emacsclient --create-frame {{path/to/file}}

click the source code to copy install emacsclient on any operating system with command-not-found.com