]> code.delx.au - dotemacs/blobdiff - README.md
improved readme
[dotemacs] / README.md
index 23568ee31510ae8350a0fb222752d482808f0221..6ffb812edd4287ba710e101e609b2c65980429a0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -40,6 +40,8 @@ M-q                                             Replace searched item (while sea
 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)
+M-.                                             Find thing at point
+M-,                                             Pop tag mark
 ```
 
 # Files/buffers
@@ -74,7 +76,7 @@ C-x ^                                           Make window taller
 C-Up / C-Down / C-Left / C-Right                Switch windows
 C-l                                             Recenter display (center, top then bottom)
 C-M-l                                           Reposition window to contain useful text (eg entire defun)
-M-x make-frame                                  New frame (X11 window)
+C-x 5 2                                         New frame (X11 window)
 ```
 
 # Movement
@@ -82,9 +84,9 @@ M-x make-frame                                  New frame (X11 window)
 M-m                                             Jump back to start of indentation
 M-r                                             Jump to window top/bottom/middle
 M-g Tab                                         Jump to column
-M-g M-j                                         Jump to charactor
-M-g M-l                                         Jump to charactor on current line
-M-g M-w                                         Jump to word by first character
+M-g f                                           Jump to charactor on current line
+M-g g                                           Jump to visible line or any line
+M-g j                                           Jump to word by first character
 M-g M-g                                         Jump to visible line or any line
 C-a                                             Beginning of line
 C-e                                             End of line
@@ -111,6 +113,8 @@ C-M-u                                           Move up one level of parentheses
 
 # Text formatting
 ```
+Tab                                             Indent current line correctly
+C-x Tab                                         Indent region with left/right
 M-/                                             Auto-complete
 M-;                                             Comment line or region
 M-i                                             Change inner region
@@ -200,6 +204,7 @@ F4                                              Play back macro
 # 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
@@ -226,6 +231,27 @@ M-g M-p                                         Previous occurence
 M-g M-n                                         Next occurence
 ```
 
+# Magit / Git gutter
+```
+C-c g d                                         Popup diff
+C-c g p                                         Previous hunk
+C-c g n                                         Next hunk
+C-c g r                                         Revert hunk
+C-c g s                                         Magit status
+C-c g f                                         Magit file specific commands
+C-c g g                                         Magit dispatch popup
+p                                               Previous section
+n                                               Next section
+M-p                                             Previous sibling section
+M-n                                             Next sibling section
+^                                               Up section
+Tab                                             Toggle visibility of section
+C-Tab                                           Cycle visibility of section and its children
+q                                               Kill window and bury buffer
+C-c C-c                                         Perform action
+C-c C-k                                         Cancel action
+```
+
 # Lisp
 ```
 C-M-x                                           Eval top-level form