mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Don't forget to autoload
This commit is contained in:
parent
b912bf80b1
commit
b2906bb329
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
(require 'multiple-cursors-core)
|
(require 'multiple-cursors-core)
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun mc/edit-lines ()
|
(defun mc/edit-lines ()
|
||||||
"Add one cursor to each line of the active region.
|
"Add one cursor to each line of the active region.
|
||||||
Starts from mark and moves in straight down or up towards the
|
Starts from mark and moves in straight down or up towards the
|
||||||
@ -49,6 +50,7 @@ mark-multiple if point and mark is on different columns."
|
|||||||
(funcall navigation-func))
|
(funcall navigation-func))
|
||||||
(multiple-cursors-mode)))
|
(multiple-cursors-mode)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun mc/edit-ends-of-lines ()
|
(defun mc/edit-ends-of-lines ()
|
||||||
"Add one cursor to the end of each line in the active region."
|
"Add one cursor to the end of each line in the active region."
|
||||||
(interactive)
|
(interactive)
|
||||||
@ -56,6 +58,7 @@ mark-multiple if point and mark is on different columns."
|
|||||||
(mc/execute-command-for-all-fake-cursors 'end-of-line)
|
(mc/execute-command-for-all-fake-cursors 'end-of-line)
|
||||||
(end-of-line))
|
(end-of-line))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun mc/edit-beginnings-of-lines ()
|
(defun mc/edit-beginnings-of-lines ()
|
||||||
"Add one cursor to the beginning of each line in the active region."
|
"Add one cursor to the beginning of each line in the active region."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
(deactivate-mark))
|
(deactivate-mark))
|
||||||
|
|
||||||
;; Bind this to a key (for instance H-SPC) to start rectangular-region-mode
|
;; Bind this to a key (for instance H-SPC) to start rectangular-region-mode
|
||||||
|
;;;###autoload
|
||||||
(defun set-rectangular-region-anchor ()
|
(defun set-rectangular-region-anchor ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(set-marker rrm/anchor (point))
|
(set-marker rrm/anchor (point))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user