]> code.delx.au - dotemacs/blobdiff - README.md
magit
[dotemacs] / README.md
index 23568ee31510ae8350a0fb222752d482808f0221..d4a32ce1db12400ecece446cb76642878ae5d4f8 100644 (file)
--- a/README.md
+++ b/README.md
@@ -200,6 +200,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 +227,25 @@ 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 f                                         Next hunk
+C-c g s                                         Magit status
+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