doom-emacs/modules/app/everywhere
2024-05-21 17:17:04 +02:00
..
cli.el fix(everywhere): update cli command 2022-06-22 01:27:03 +02:00
config.el nit: minor comment reformatting & revision 2024-05-21 17:17:04 +02:00
doctor.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
packages.el bump: :app 2024-05-21 17:16:40 +02:00
README.org docs(*): replace all-the-icons with nerd-icons 2024-05-21 17:16:13 +02:00

:app everywhere

Description   unfold

This module adds system-wide popup Emacs windows for quick edits.

Module flags

This module has no flags.

Hacks

No hacks documented for this module.

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module requires:

  • On Linux: (these should be available through your OS package manager)

    • xclip
    • xdotool
    • xprop
    • xwininfo
  • On MacOS: that Emacs is allowed to "control your computer" under System Preferences > Accessibility.

Usage

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.

Configuration

doom-package: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 behavior is implemented as hooks on emacs-everywhere-init-hooks.

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

󱌣 This module has no appendix yet. Write one?