Replace outdated function name with new one

- was: mc/add-multiple-cursors-to-region-lines
 - now: mc/edit-lines
This commit is contained in:
Magnar Sveen 2012-08-07 15:44:31 +02:00
parent 3e31cc62ca
commit 4003aa1583
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ Start out with:
When you have an active region that spans multiple lines, the following will When you have an active region that spans multiple lines, the following will
add a cursor to each line: add a cursor to each line:
(global-set-key (kbd "C-S-c C-S-c") 'mc/add-multiple-cursors-to-region-lines) (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)
When you want to add multiple cursors not based on continuous lines, but based on When you want to add multiple cursors not based on continuous lines, but based on
keywords in the buffer, use: keywords in the buffer, use:
@ -34,7 +34,7 @@ insert a newline in multiple-cursors-mode, use `C-j`.
I've set up my key-bindings like so: I've set up my key-bindings like so:
;; From active region to multiple cursors: ;; From active region to multiple cursors:
(global-set-key (kbd "C-S-c C-S-c") 'mc/add-multiple-cursors-to-region-lines) (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)
(global-set-key (kbd "C-S-c C-e") 'mc/edit-ends-of-lines) (global-set-key (kbd "C-S-c C-e") 'mc/edit-ends-of-lines)
(global-set-key (kbd "C-S-c C-a") 'mc/edit-beginnings-of-lines) (global-set-key (kbd "C-S-c C-a") 'mc/edit-beginnings-of-lines)

View File

@ -33,7 +33,7 @@
;; When you have an active region that spans multiple lines, the following will ;; When you have an active region that spans multiple lines, the following will
;; add a cursor to each line: ;; add a cursor to each line:
;; ;;
;; (global-set-key (kbd "C-S-c C-S-c") 'mc/add-multiple-cursors-to-region-lines) ;; (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)
;; ;;
;; When you want to add multiple cursors not based on continuous lines, but based on ;; When you want to add multiple cursors not based on continuous lines, but based on
;; keywords in the buffer, use: ;; keywords in the buffer, use:
@ -54,7 +54,7 @@
;; I've set up my key-bindings like so: ;; I've set up my key-bindings like so:
;; ;;
;; ;; From active region to multiple cursors: ;; ;; From active region to multiple cursors:
;; (global-set-key (kbd "C-S-c C-S-c") 'mc/add-multiple-cursors-to-region-lines) ;; (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)
;; (global-set-key (kbd "C-S-c C-e") 'mc/edit-ends-of-lines) ;; (global-set-key (kbd "C-S-c C-e") 'mc/edit-ends-of-lines)
;; (global-set-key (kbd "C-S-c C-a") 'mc/edit-beginnings-of-lines) ;; (global-set-key (kbd "C-S-c C-a") 'mc/edit-beginnings-of-lines)
;; ;;