Variable: multiple-cursors-mode
multiple-cursors-mode is a buffer-local variable defined in
multiple-cursors-core.el.
Documentation
Non-nil if Multiple-Cursors mode is enabled.
Use the command multiple-cursors-mode(var)/multiple-cursors-mode(fun) to change this variable.
Key Bindings
mc/keymap <return>
Source Code
;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/multiple-cursors-core.el
;;;###autoload
(define-minor-mode multiple-cursors-mode
"Mode while multiple cursors are active."
:init-value nil
:lighter mc/mode-line
:keymap mc/keymap
(if multiple-cursors-mode
(progn
(mc/temporarily-disable-unsupported-minor-modes)
(add-hook 'pre-command-hook #'mc/make-a-note-of-the-command-being-run nil t)
(add-hook 'post-command-hook #'mc/execute-this-command-for-all-cursors t t)
(run-hooks 'multiple-cursors-mode-enabled-hook))
(remove-hook 'post-command-hook #'mc/execute-this-command-for-all-cursors t)
(remove-hook 'pre-command-hook #'mc/make-a-note-of-the-command-being-run t)
(setq mc--this-command nil)
(mc--maybe-set-killed-rectangle)
(mc/remove-fake-cursors)
(mc/enable-temporarily-disabled-minor-modes)
(run-hooks 'multiple-cursors-mode-disabled-hook)))