From 8a60fc7ef0ae6e5ca089a7c95264cd0ae83e7274 Mon Sep 17 00:00:00 2001 From: Johannes Lippmann Date: Fri, 12 Nov 2021 22:44:44 +0100 Subject: [PATCH] Document multiple-cursors-mode-disabled-hook in Readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0468f69..9a21afa 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,10 @@ You can [watch an intro to multiple-cursors at Emacs Rocks](http://emacsrocks.co - If you would like to keep the global bindings clean, and get custom keybindings when the region is active, you can try [region-bindings-mode](https://github.com/fgallina/region-bindings-mode). +- There is a special hook that is run when the mode is diabled + (which is equivalent to the number of cursors going back to 1): + `multiple-cursors-mode-disabled-hook` + 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`.