]> code.delx.au - dotemacs/blobdiff - README.md
SSH_AUTH_SOCK
[dotemacs] / README.md
index c00cbf81f0a6204add4c77508f512d7803838197..a3b18c0de017fd012b650ce5b4eee9bd0388fc3d 100644 (file)
--- a/README.md
+++ b/README.md
-# General commands
-C-x C-c                                         Quit Emacs
-C-x C-s                                         Save current buffer
-C-g                                             Cancel command
-M-x                                             Execute command
-C-/                                             Undo
-C-g C-/                                         Undo undo
-C-x z                                           Repeat last command
-M-X 'eval-buffer                                Load current buffer as elisp
+# dotemacs
 
-# Help
-C-h C-h                                         Help
-C-h k                                           Help about key binding
-C-h v                                           Describe variable
-C-h f                                           Describe function
+Configuration for Emacs.
 
-# Search
-C-M-s                                           Regex search
-C-s                                             Search forward
-C-r                                             Search backward
-M-s .                                           Search for symbol around point
-M-s w                                           Start word search
-C-s                                             Find next item (while searching)
-Backspace                                       Previous search (while searching)
-M-%                                             Search and replace
+## Usage
 
-# Buffers/windows/frames
-C-x s                                           Save some buffers
-C-x C-f                                         Find (open) file
-C-x k                                           Kill buffer
-C-x b                                           Select named buffer
-C-x C-b                                         Show all buffers
-C-x o                                           Switch to other window
-C-x 1                                           Switch to single window
-C-x 2                                           Split vertically
-C-x 3                                           Split horizontally
-M-x 'make-frame                                 New frame (X11 window)
-M-=                                             Display info about region
+Initialise the emacs package submodules
+```
+cd ~/.emacs.d
+git submodule init
+git submodule update
+```
 
-# Text formatting
-M-/                                             Auto-complete
-M-;                                             Comment line or region
-M-q                                             Reformat paragraph
-M-l                                             Lower case word
-M-u                                             Upper case word
-M-c                                             Capitalise word
-C-x C-l                                         Lower case region
-C-x C-u                                         Upper case region
-
-# Macros
-F3 , F4                                         Start recording macro
-C-u F3                                          Play last macro then append keys
-F4                                              Play back macro
-
-# Selecting/deleting/killing text
-C-Space                                         Set mark (start selection)
-C-Space C-Space                                 Set mark to point
-C-u C-space                                     Return to mark
-C-M-p                                           Back to start of balanced expression
-C-M-n                                           Forward to end of balanced expression
-M-@                                             Set mark at end of next word
-C-w                                             Kill from mark to point
-C-y                                             Yank text (paste)
-M-y                                             Scroll through kill ring (paste buffer)
-M-z <char>                                      Kill until <char>
-C-k                                             Kill rest of line
-C-M-k                                           Kill balanced expression
-C-S-Backspace                                   Delete current line
-C-d                                             Delete next character
-M-d                                             Delete next word
-M-Backspace                                     Delete previous word
-M-Space                                         Collpase to one space around point
-M-\                                             Delete spaces around point
-C-x C-o                                         Collapse blank lines
-'#                                              delete-trailing-whitespace
-
-# Lines
-C-o                                             Insert new line at point
-C-j                                             Newline and maybe indent
-M-^                                             Join to previous line
-
-# Movement
-M-m                                             Jump back to start of indentation
-M-r                                             Jump to window top/bottom/middle
-M-g M-g                                         Jump to line
-M-g Tab                                         Jump to column
-C-a                                             Beginning of line
-C-e                                             End of line
-C-p                                             Back one line
-C-n                                             Forward one line
-C-b                                             Back one character
-C-n                                             Forward one character
-M-b                                             Back a word
-M-f                                             Forward a word
-M-a                                             Backward sentence
-M-e                                             Forward sentence
-M-v                                             Back page
-C-v                                             Forward page
-M-{                                             Back one paragraph
-M-}                                             Forward one paragraph
-M-<                                             Top of file
-M->                                             End of file
\ No newline at end of file
+Set up Emacs daemon to autostart:
+```
+systemctl --user enable --now emacs
+```