Variable: outline-minor-mode-cycle-map

outline-minor-mode-cycle-map is a variable defined in outline.el.gz.

Value

<left-margin> <mouse-1>     outline-cycle
<left-margin> S-<mouse-1>   outline-cycle-buffer
<right-margin> <mouse-1>    outline-cycle
<right-margin> S-<mouse-1>  outline-cycle-buffer

Documentation

Keymap used as a parent of the outline-minor-mode(var)/outline-minor-mode(fun) keymap.

It contains key bindings that can be used to cycle visibility. The recommended way to bind keys is with outline-minor-mode-cycle--bind when the key should be enabled only when outline-minor-mode-cycle is non-nil and point is located on the heading line.

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defvar outline-minor-mode-cycle-map
  (let ((map (make-sparse-keymap)))
    (outline-minor-mode-cycle--bind map (kbd "TAB") #'outline-cycle)
    (outline-minor-mode-cycle--bind map (kbd "<backtab>") #'outline-cycle-buffer)
    (keymap-set map "<left-margin> <mouse-1>" 'outline-cycle)
    (keymap-set map "<right-margin> <mouse-1>" 'outline-cycle)
    (keymap-set map "<left-margin> S-<mouse-1>" 'outline-cycle-buffer)
    (keymap-set map "<right-margin> S-<mouse-1>" 'outline-cycle-buffer)
    map)
  "Keymap used as a parent of the `outline-minor-mode' keymap.
It contains key bindings that can be used to cycle visibility.
The recommended way to bind keys is with `outline-minor-mode-cycle--bind'
when the key should be enabled only when `outline-minor-mode-cycle' is
non-nil and point is located on the heading line.")