]> code.delx.au - dotemacs/blobdiff - README_KEYBINDINGS.md
Increase font size
[dotemacs] / README_KEYBINDINGS.md
index 91a7cdb4a8c3e9f322d174096f42a31e7b8dff6f..97d98fca2f4fa139ab98f58add36ce46ffb653b3 100644 (file)
@@ -36,10 +36,13 @@ 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-M-A                                           Read Ivy action
 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
 ```
@@ -53,6 +56,7 @@ C-x C-f                                         Find file
 C-x C-v                                         Find file and kill current buffer
 C-x f                                           Find files in git repository
 C-x g                                           Grep in git repository
+M-q                                             Replace in git repository (while in git grep)
 M-x find-file-at-point                          Find (open) filename at point
 M-x browse-url-at-point                         Browse URL at point
 C-x k                                           Kill buffer
@@ -141,14 +145,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
@@ -223,7 +237,6 @@ Meta-Right-Click                                Yank secondary
 # Mode switching
 ```
 C-x C-j                                         Open direx at current file
-C-c g s                                         Magit status
 F8                                              Toggle flyspell-mode
 F9                                              Toggle whitespace mode
 F10                                             Toggle word wrap
@@ -232,7 +245,7 @@ M-x multi-occur                                 Search in buffers and display re
 M-x eshell                                      Run eshell
 M-x ielm                                        Run Emacs Lisp REPL
 M-x linum-mode                                  Display line numbers
-M-x restclient                                  Open HTTP client
+M-x overwrite-mode                              Switch to overwrite mode
 M-x shell                                       Run bash shell
 M-x slime                                       Run Common Lisp REPL
 M-x smerge-ediff                                Resolve merge conflicts in multi-window mode