]> code.delx.au - dotemacs/blobdiff - README.md
major config refactor
[dotemacs] / README.md
index 32e08ed72dd3fc7ba1f271c3b8edc06d210a1145..23568ee31510ae8350a0fb222752d482808f0221 100644 (file)
--- a/README.md
+++ b/README.md
@@ -26,6 +26,8 @@ C-h v                                           Describe variable
 C-h f                                           Describe function
 C-h m                                           Documentation on active modes
 <prefix> C-h                                    Show bindings starting with <prefix>
+C-c C-b                                         Back to previous help topic (while in help-mode)
+q                                               Quit window and bury buffer
 ```
 
 # Search
@@ -33,10 +35,11 @@ C-h m                                           Documentation on active modes
 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-q                                             Replace searched item (while searching)
 M-p                                             Search for previous item (while searching)
 M-n                                             Search for symbol at point (while searching)
-M-%                                             Search and replace
+C-c C-o                                         Dump all results into a buffer (ivy-occur)
 ```
 
 # Files/buffers
@@ -143,6 +146,15 @@ C-c m                                           Ask to insert extra cursor at lo
 M-=                                             Display info about region
 ```
 
+# Highlighting
+```
+M-s h u                                         Unhighlight regexp
+M-s h .                                         Highlight symbol at point
+M-s h p                                         Highlight phrase
+M-s h r                                         Highlight regexp
+M-s h l                                         Highlight lines matching regexp
+```
+
 # Killing and deleting
 ```
 C-M-k                                           Kill s-expression / symbol
@@ -191,6 +203,8 @@ C-x C-j                                         Open direx at current file
 F8                                              Toggle flyspell-mode
 F9                                              Toggle whitespace mode
 F10                                             Toggle word wrap
+M-s o                                           Search in buffer and display results in occur-mode
+M-x multi-occur                                 Search in buffers and display results in occur-mode
 M-x eshell                                      Run eshell
 M-x ielm                                        Run Emacs Lisp REPL
 M-x linum-mode                                  Display line numbers
@@ -203,6 +217,15 @@ M-x term                                        Run terminal
 M-x yas-reload-all                              Reload all snippets
 ```
 
+# Occur
+```
+g                                               Reload
+e                                               Switch to edit mode
+C-c C-c                                         Switch back to occur mode
+M-g M-p                                         Previous occurence
+M-g M-n                                         Next occurence
+```
+
 # Lisp
 ```
 C-M-x                                           Eval top-level form