💾 Archived View for szczezuja.space › cheatsheet › emacs.gmi captured on 2024-07-09 at 00:05:14. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-03-20)

-=-=-=-=-=-=-

Personal cheat sheet

emacs

https://www.gnu.org/software/emacs/

Visualization 1

+------------------------------------------------------------------------------+
|                                                   +-----------------------+  |
| +----------------------+ +---------------------+  |   === essentials ===  |  |
| |                      | |                     |  | M-x <function_name>   |  |
| | C-x C-s - save file  | | C-s - search / next |  | M-x describe-function |  |
| |                      | |                     |  | M-x describe-mode     |  |
| +----------------------+ +---------------------+  | M-x describe-key      |  |
|                                                   | M-x apropos-command   |  |
| +----------------------+                          +-----------------------+  |
| |   C-x u - undo       | +------------------------------+                    |
| |     C-k - cut        | |                              |                    |
| | C-w/M-w - cut/paste  +->            C-a C-k - del ln  | +----------------+ |
| |     M-w - copy reg.  | |  C-a C-SPC C-n M-w - copy ln | |                | |
| |     C-y - paste      | |                              | | C-SPC - mark   | |
| +----------------------+ +----^-------------------------+ |         region | |
|                               |                           +----------------+ |
| +----------------------+      |                                              |
| |                      |      |    +--------------------+ +----------------+ |
| | arrows - move        |      |    | Keyword completion | |                | |
| |    M-f - word fwd.   +------+    | C-/                | | M-x sort-lines | |
| |    M-b - word back   |           +--------------------+ |                | |
| | C-down - paragraph   |                                  +----------------+ |
| |   C-up - paragraph   |                                                     |
| |    C-a - start line  | +-------------------+ +---------+ +---------------+ |
| |    C-n - end line    | |                   | |         | |               | |
| |  ESC-< - start file  | | M-x flyspell-mode | | quit    | | run shell cmd | |
| |  ESC-> - end file    | | M-$ - correct     | | C-x C-x | | C-u M-!       | |
| |                      | |                   | |         | |               | |
| +----------------------+ +-------------------+ +---------+ +---------------+ |
|                                                                              |
+------------------------------------------------------------------------------+

Visualization 2

Org-Mode Reference Card

+------------------------------------------------------------------------------+
|                                                                              |
| +-----------------------------+          +---------------------------------+ |
| |                             |          |                                 | |
| | TAB   - show/hide heading   |          | M-Up   - heading/item move up   | |
| | S-TAB - overview/all buffer |          | M-Down - heading/item move down | |
| |                             |          |                                 | |
| +-------+---------------------+          +---------------------------+-----+ |
|         |                                                            |       |
|         |             +-----------------------------+                |       |
|         |             |                             |                |       |
|         +-------------> M-Enter - new heading/item  <----------------+       |
|                       | C-Enter - new heading after |                        |
|                       |                             |                        |
|                       +---------+-------------------+                        |
|                                 |                                            |
|                       +---------v-----------------------------+              |
|                       |                                       |              |
|                       | C-c .   - insert date                 |              |
|                       | C-c c   - capture from other buffer   |              |
|                       |                                       |              |
|                       | C-c l   - save link from other buffer |              |
| +------------------+  | C-c C-l - insert saved link           |              |
| |                  |  |                                       |              |
| | C-c C-e - export <--+ C-c C-t - TODO / DONE                 |              |
| |                  |  |                                       |              |
| +------------------+  +---------------------------------------+              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
+------------------------------------------------------------------------------+

--

szczezuja.space CC BY-SA