From 8bc79168419c9ebaaa0708e0aa75ce75edbce93a Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Wed, 25 Jul 2012 21:06:49 +0200 Subject: [PATCH] Updated README. --- README.md | 10 +++++----- multiple-cursors.el | 11 +++++------ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a129a57..f49cc4a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,10 @@ keywords in the buffer, use: First mark the word, then add more cursors. +To get out of multiple-cursors-mode, press `` or `C-g`. The latter will +first disable multiple regions before disabling multiple cursors. If you want to +insert a newline in multiple-cursors-mode, use `C-j`. + ## More commands to play around with @@ -54,10 +58,6 @@ Okay, yes, I have a crazy norwegian keyboard. Regardless, these will look at whatever you've got selected at the moment, and mark more places like that in the buffer. -To get out of multiple-cursors-mode, press `` or `C-g`. The latter will -first disable multiple regions before disabling multiple cursors. If you want to -insert a newline in multiple-cursors-mode, use `C-j`. - BTW, I highly recommend adding `mc/mark-next-like-this` to a key binding that's right next to the key for `er/expand-region`. @@ -66,7 +66,7 @@ right next to the key for `er/expand-region`. Multiple-cursors uses two lists of commands to know what to do: the run-once list and the run-for-all list. It comes with a set of defaults, but it would be beyond silly -to try and include them all. +to try and include all the known Emacs commands. So that's why multiple-cursors occasionally asks what to do about a command. It will then remember your choice by saving it in `~/.emacs.d/.mc-lists.el`. You can change diff --git a/multiple-cursors.el b/multiple-cursors.el index 4714003..afb33df 100644 --- a/multiple-cursors.el +++ b/multiple-cursors.el @@ -44,6 +44,10 @@ ;; ;; First mark the word, then add more cursors. ;; +;; To get out of multiple-cursors-mode, press `` or `C-g`. The latter will +;; first disable multiple regions before disabling multiple cursors. If you want to +;; insert a newline in multiple-cursors-mode, use `C-j`. +;; ;; ;; ## More commands to play around with ;; @@ -74,10 +78,6 @@ ;; whatever you've got selected at the moment, and mark more places like that in ;; the buffer. ;; -;; To get out of multiple-cursors-mode, press `` or `C-g`. The latter will -;; first disable multiple regions before disabling multiple cursors. If you want to -;; insert a newline in multiple-cursors-mode, use `C-j`. -;; ;; BTW, I highly recommend adding `mc/mark-next-like-this` to a key binding that's ;; right next to the key for `er/expand-region`. ;; @@ -86,7 +86,7 @@ ;; ;; Multiple-cursors uses two lists of commands to know what to do: the run-once list ;; and the run-for-all list. It comes with a set of defaults, but it would be beyond silly -;; to try and include them all. +;; to try and include all the known Emacs commands. ;; ;; So that's why multiple-cursors occasionally asks what to do about a command. It will ;; then remember your choice by saving it in `~/.emacs.d/.mc-lists.el`. You can change @@ -123,7 +123,6 @@ ;; ;; $ ./util/ecukes/ecukes --graphical ;; - ;;; Code: (require 'multiple-cursors-core)