Cheatography
                https://cheatography.com
            
        
        
    
                   
                            
    
                    Emacs shortcuts I keep forgetting
                    
                 
                    
        
        
            
    
        
                                    This is a draft cheat sheet. It is a work in progress and is not finished yet.
                    
        
                
        
            
                                
            
                
                                                | Ranger
                        
                                                                                    
                                                                                            | Navigation | C-r | refresh |  
                                                                                            |  | gg / G | top / bottom |  
                                                                                            |  | < / > | prev / next |  
                                                                                            |  | C-b / C-f | page up / down |  
                                                                                            |  | C-k / C-j | preview up/down |  
                                                                                            |  | gh | home |  
                                                                                            |  | f | search for file |  
                                                                                            | File | ;C | copy marked |  
                                                                                            |  | R | rename marked |  
                                                                                            |  | D | delete marked |  
                                                                                            |  | ;d | flag for del |  
                                                                                            |  | ;x | delete flagged |  
                                                                                            | Directory | I | insert subdir |  
                                                                                            |  | ;+ | create dir |  
                                                                                            |  | gk / gj | prev / next subdir |  
                                                                                            |  | C-c C-e | writable Dired |  
                                                                                            | Marking | t | toggle |  
                                                                                            |  | ;m / C-SPC / TAB | mark - next |  
                                                                                            |  | ;u | unmark - next |  
                                                                                            |  | ;U | unmark all |  
                                                                                            |  | v | invert marks |  
                                                                                            |  | " | mark with regex |  
                                                                                            | Sorting | on / oN | sort by name |  
                                                                                            |  | oe / oE | sort by ext |  
                                                                                            |  | os / oS | sort by size |  
                                                                                            |  | ot / oT | sort by mod date |  
                                                                                            |  | oc / oC | sort by create date |  
                                                                                            |  | zd | sort dirs |  
                                                                                            | Toggles | i | toggle preview |  
                                                                                            |  | zh | toggle hidden |  
                                                                                            |  | zi | toggle full-text |  
                                                                                            |  | zP | toggle minimal |  
                                                                                            |  | zf | toggle image |  
                                                                                            | Shell | ! | run shell on file |  
                                                                                            |  | ;& | async shell on file |  
                                                                                            |  | S | eshell |  
                                                                                            | Bookmarks | / | go to bookmark |  
                                                                                            |  | m | set bm |  
                                                                                            |  | B | show all |  
                                                                                            | Copy / Paste | yy | mark to copy |  
                                                                                            |  | dd | mark to move |  
                                                                                            |  | pp | paste |  
                                                                                            |  | po | paste & overwrite |  
                                                                                            |  | p? | show copy ring |  |  | Editing
                        
                                                                                    
                                                                                            | S-w | Ace Window |  
                                                                                            | s-j / s-, | Avy goto word |  
                                                                                            | s-J | goto char |  
                                                                                            | C-c k / C-c K | zap up to / to char |  
                                                                                            | M-z | zap up to char |  
                                                                                            | C-c w / C-c W | kill region / copy region |  
                                                                                            | M-k / M-k | copy to eol / copy line |  
                                                                                            | C-c c / C-c C | save line / kill line |  
                                                                                            | M-g g | Avy goto line |  
                                                                                            | C-' | Avy from isearch |  
                                                                                            | M- / M- | Move selected text |  
                                                                                            | M-/ | expand |  
                                                                                            | C-` | Other window |  
                                                                                            | C- / C- | other window / sel window |  
                                                                                            | C-s- / C-s- | delete split / split down |  
                                                                                            | s-(numpad arrows) | smart shift |  
                                                                                            | M-g f | fill paragraph |  Hydrae
                        
                                                                                    
                                                                                            | s-[ | Smart Parens Hydra |  
                                                                                            | . | Dired (in Dired mode) |  Helm
                        
                                                                                    
                                                                                            | s-p h | Helm Projectile |  
                                                                                            | s-i | Helm Swoop |  
                                                                                            | C-c s-i | Helm Multi Swoop |  
                                                                                            | M-s | Swoop from isearch |  
                                                                                            | C-r / C-s | previous / next line |  
                                                                                            | C-z | select action |  
                                                                                            | <f6> | recent files |  Calc
                        
                                                                                    
                                                                                            | Base | C-x * c | Start calc |  
                                                                                            |  | q | Stop |  
                                                                                            |  | C-x * q | calc in minibuf |  
                                                                                            | Errors | w | display err |  
                                                                                            |  | U | undo last |  
                                                                                            |  | D | redo last |  
                                                                                            |  | M-RET | recall last args |  
                                                                                            |  | ' | edit top of stack |  
                                                                                            |  | reset | C-x * 0 |  
                                                                                            | Transfer | C-x  g / C-x  r | Grab region / rectangle |  
                                                                                            |  | C-x  : / C-x  _ | Grab & sum cols / rows |  
                                                                                            |  | TAB | swap |  
                                                                                            |  | RET | copy |  
                                                                                            |  | DEL / M-DEL | delete / delete 2 |  JS
                        
                                                                                    
                                                                                            | C-c X | Xref hydra |  
                                                                                            | C-c C-r | Refactor prefix |  
                                                                                            | C-c n | JS REPL |  |  | Org
                        
                                                                                    
                                                                                            | C-c C-l | Store Link |  
                                                                                            | C-c o | Capture template ... |  
                                                                                            | C-c b / | Brain root |  
                                                                                            | C-c b . | Brain show file |  
                                                                                            | C-c j | Journal entry |  
                                                                                            | M-RET / C-RET | insert new heading / after |  
                                                                                            | M-S-RET / M-C-RET | insert new todo / after |  
                                                                                            | C-c - | Cycle type |  
                                                                                            | C-c * | Turn into headline |  
                                                                                            | M-S- / M-S- | move up / down |  
                                                                                            | C-c ^ | sort |  
                                                                                            | C-c C-x c | clone subtree |  
                                                                                            | C-c C-x v | copy visible |  
                                                                                            | C-x n s/w | narrow / widen |  
                                                                                            | C-c C-x C-s | archive |  
                                                                                            | C-c / | Sparse tree |  
                                                                                            | C-c / t/T | C-c a t |  
                                                                                            | C-c a L | time sorted |  
                                                                                            | C-c | | convert to table |  
                                                                                            | M- / M- | table col left / right |  
                                                                                            | M-S- | kill col |  
                                                                                            | M-S- | insert col |  
                                                                                            | M- / M- | row up/down |  
                                                                                            | M-S- | ins new row above |  
                                                                                            | C-c - | insert hline |  
                                                                                            | C-c C-q | fill paragraph in cells |  
                                                                                            | C-c + | sum numbers in col |  
                                                                                            | C-c = | set col formula |  
                                                                                            | C-u C-c = | set field formula |  
                                                                                            | C-c * | re-eval (C-u whole table) |  
                                                                                            | C-c } | show coordinates |  
                                                                                            | C-c ' | edit formula |  
                                                                                            | C-c l | store link |  
                                                                                            | C-c C-l | insert link |  
                                                                                            | C-c C-o | open link |  
                                                                                            | C-c C-t / S- / S- | rotate TODO state |  
                                                                                            | S- / S- | change priority |  
                                                                                            | C-c C-q | set tags |  
                                                                                            | C-u C-c C-q | realign tags |  
                                                                                            | C-c \\ | sparse tree with tags |  
                                                                                            | C-c C-o | match tags at cursor |  
                                                                                            | C-c C-x C-c | column view (q quits) |  
                                                                                            | C-, | insert date |  
                                                                                            | C-c ! | insert datetime |  
                                                                                            | C-c C-d | add deadline |  
                                                                                            | C-c C-s | add scheduled |  
                                                                                            | C-c [ / C-c ] | add (remove) from agenda |  
                                                                                            | C-c C-e | export ... |  Bookmarks
                        
                                                                                    
                                                                                            | C-x r l | list bookmarks |  
                                                                                            | C-x p m | bookmark current |  
                                                                                            | C-x r m | make bookmark |  
                                                                                            | C-x p t + a / C-x p t - a | tag a file / untag |  
                                                                                            | C-x  j j | Jump to a bookmark |  
                                                                                            | M-a | search in bookmarks |  
                                                                                            | M-q | search/replace in bookmarks |  
                                                                                            | C-x p c | set prefix |  
                                                                                            | C-x p t | tags prefix |  
                                                                                            | C-x j | jump prefix |  
                                                                                            | C-x p i | insert contents |  
                                                                                            | M-L | toggle temp mode |  
                                                                                            | C-x p t e | edit tags |  |