mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
25 lines
718 B
Org Mode
25 lines
718 B
Org Mode
|
:PROPERTIES:
|
||
|
:ID: d8339d6a-8b2f-43d8-bb08-a1b89db76b02
|
||
|
:END:
|
||
|
#+title: Embark
|
||
|
#+filetags: emacs-load
|
||
|
|
||
|
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
||
|
#
|
||
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||
|
|
||
|
#+BEGIN_QUOTE
|
||
|
This package provides a sort of right-click contextual menu for Emacs, accessed through the embark-act command (which you should bind to a convenient key), offering you relevant actions to use on a target determined by the context:
|
||
|
#+END_QUOTE
|
||
|
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(use-package embark
|
||
|
:straight t
|
||
|
:bind
|
||
|
(("C-." . embark-act)
|
||
|
("C-;" . embark-dwim)
|
||
|
("C-h B" . embark-bindings))
|
||
|
:init
|
||
|
(setq embark-indicators '(embark-minimal-indicator)))
|
||
|
#+END_SRC
|