]> code.delx.au - dotemacs/blobdiff - README_KEYBINDINGS.md
More keys for multiple cursors
[dotemacs] / README_KEYBINDINGS.md
index 652105d10cb55c49629b233f7548bada36fa561e..c1b590e494951f5ac47a2352e303f0140a1b02fc 100644 (file)
@@ -36,10 +36,12 @@ C-s                                             Search forward (ivy/swiper mode)
 C-r                                             Resume ivy search
 C-7                                             Start a cursor for each result (while searching)
 C-'                                             Switch to avy jump mode
+M-i                                             Insert selected item (while searching)
 M-q                                             Replace searched item (while searching)
 M-p                                             Search for previous item (while searching)
 M-n                                             Search for symbol at point (while searching)
 C-c C-o                                         Dump all results into a buffer (ivy-occur)
+C-c C-p                                         Switch to wgrep mode
 M-.                                             Find thing at point
 M-,                                             Pop tag mark
 ```
@@ -142,14 +144,24 @@ M-x comment-box                                 Wrap region in comment box
 ```
 C-Space                                         Set mark (start selection)
 C-Space C-Space                                 Set mark to point
-C-u C-space                                     Return to mark
+C-u C-space                                     Pop mark
+C-x C-space                                     Pop global mark
 C-x C-x                                         Exchange point and mark
 C-M-h                                           Highlight expression
 M-@                                             Set mark at end of next word
 C-=                                             Expand region
-C-c l                                           Insert extra cursor on all lines in region
-C-c m                                           Ask to insert extra cursor at locations matching selected region
 M-=                                             Display info about region
+C-.                                             Go to last edit
+C-,                                             Go to last edit reverse
+```
+
+# Multiple cursors
+```
+C-c m a                                         Insert cursor at all matching points
+C-c m l                                         Insert extra cursor on all lines in region
+C-c m m                                         Ask to insert extra cursor at locations matching selected region
+C-c m p                                         Add cursor at previous text like region
+C-c m n                                         Add cursor at next text like region
 ```
 
 # Highlighting