From 4003aa1583f379a6a9949aa49989d73cb9c413a3 Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Tue, 7 Aug 2012 15:44:31 +0200 Subject: [PATCH] Replace outdated function name with new one - was: mc/add-multiple-cursors-to-region-lines - now: mc/edit-lines --- README.md | 4 ++-- multiple-cursors.el | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 862312e..9d80630 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Start out with: When you have an active region that spans multiple lines, the following will 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 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: ;; 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-a") 'mc/edit-beginnings-of-lines) diff --git a/multiple-cursors.el b/multiple-cursors.el index ce31a29..fd306f1 100644 --- a/multiple-cursors.el +++ b/multiple-cursors.el @@ -33,7 +33,7 @@ ;; When you have an active region that spans multiple lines, the following will ;; 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 ;; keywords in the buffer, use: @@ -54,7 +54,7 @@ ;; I've set up my key-bindings like so: ;; ;; ;; 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-a") 'mc/edit-beginnings-of-lines) ;;