Function: set-rectangular-region-anchor

set-rectangular-region-anchor is an interactive and natively compiled function defined in rectangular-region-mode.el.

Signature

(set-rectangular-region-anchor)

Documentation

Anchors the rectangular region at point.

Think of this one as set-mark except you're marking a rectangular region. It is an exceedingly quick way of adding multiple cursors to multiple lines.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/rectangular-region-mode.el
;; Bind this to a key (for instance H-SPC) to start rectangular-region-mode
;;;###autoload
(defun set-rectangular-region-anchor ()
  "Anchors the rectangular region at point.

Think of this one as `set-mark' except you're marking a
rectangular region. It is an exceedingly quick way of adding
multiple cursors to multiple lines."
  (interactive)
  (set-marker rrm/anchor (point))
  (push-mark (point))
  (rectangular-region-mode 1))