This module adds system-wide popup Emacs windows for quick edits.
This module provides no flags.
On Linux xclip
, xdotool
, xprop
, and xwininfo
are needed.
On MacOS, Emacs must be allowed to “control your computer” under Settings > Accessibility.
To use this, invoke the emacs-everywhere
executable. This can be done in two
ways:
emacsclient --eval "(emacs-everywhere)"
doom everywhere
It is recommended that you add a keybinding for this.
From here, you can edit away to your hearts content in the created frame, then
return to the original window and paste the content with C-c C-c
or SPC q f
.
To exit without pasting, use C-c C-k
.
emacs-everywhere
likes to guess if you triggered it from an application which
supports markdown. Configure emacs-everywhere-markdown-windows
and
emacs-everywhere-markdown-apps
to improve how accurate this is on your system.
By default, when markdown is detected, markdown-mode
is used. It is possible to
instead use pandoc to convert the content to Org (and export to markdown when
closing the frame) by setting emacs-everywhere-major-mode-function
to
#'org-mode
.
Most other behaviour is implemented as hooks on emacs-everywhere-init-hooks
.