Function: embark-bindings

embark-bindings is an autoloaded, interactive and byte-compiled function defined in embark.el.

Signature

(embark-bindings GLOBAL)

Documentation

Explore current command key bindings with completing-read.

The selected command will be executed.

This shows key bindings from minor mode maps and the local map (usually set by the major mode), but also less common keymaps such as those from a text property or overlay, or the overriding maps: overriding-terminal-local-map and overriding-local-map.

Additionally, if GLOBAL is non-nil (interactively, if called with a prefix argument), this command includes global key bindings.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
;;;###autoload
(defun embark-bindings (global)
  "Explore current command key bindings with `completing-read'.
The selected command will be executed.

This shows key bindings from minor mode maps and the local
map (usually set by the major mode), but also less common keymaps
such as those from a text property or overlay, or the overriding
maps: `overriding-terminal-local-map' and `overriding-local-map'.

Additionally, if GLOBAL is non-nil (interactively, if called with
a prefix argument), this command includes global key bindings."
  (interactive "P")
  (embark-bindings-in-keymap
   (make-composed-keymap
    (let ((all-maps (current-active-maps t)))
      (if global all-maps (remq global-map all-maps))))))