]> code.delx.au - dotemacs/commitdiff
updated README
authorJames Bunton <jamesbunton@delx.net.au>
Wed, 20 Jul 2016 14:20:02 +0000 (00:20 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Wed, 20 Jul 2016 14:24:32 +0000 (00:24 +1000)
README.txt

index 4a45719f8db6c98331422e3dd5db2c61c8f7a594..e749fb130477841e2d14b685e9794aa9b1796a16 100644 (file)
@@ -10,6 +10,11 @@ C-/                                             Undo
 C-g C-/                                         Undo undo
 C-x z                                           Repeat last command
 M-x                                             Execute command
+M-:                                             Evaluate expression as elisp
+M-x eval-buffer                                 Load current buffer as elisp
+C-x C-0                                         Reset font to standard
+C-x C-+/=                                       Increase font size
+C-x C--                                         Decrease font size
 
 # Help
 C-h C-h                                         Help
@@ -122,7 +127,8 @@ M-_                                             Select current line
 M-z <char>                                      Kill until <char>
 C-k                                             Kill to end of line
 M-0 C-k                                         Kill to beginning of line
-C-S-Backspace                                   Delete current line
+C-a C-k C-k                                     Kill current line
+C-S-Backspace                                   Kill current line
 C-d                                             Delete next character
 M-d                                             Delete next word
 M-Backspace                                     Delete previous word
@@ -146,11 +152,21 @@ F3 , F4                                         Start recording macro, finish re
 C-u F3                                          Play last macro then append keys
 F4                                              Play back macro
 
+# Mode switching
+C-x C-j                                         Open dired at current file
+F8                                              Toggle flyspell-mode
+F9                                              Toggle whitespace mode
+F10                                             Toggle word wrap
+M-x yas-reload-all                              Reload all snippets
+M-x restclient                                  Open HTTP client
+M-x ielm                                        Run Emacs Lisp REPL
+M-x slime                                       Run Common Lisp REPL
+
 # Lisp
-M-:                                             Evaluate expression as elisp
-M-x eval-buffer                                 Load current buffer as elisp
-M-x eval-region                                 Load current region as elisp
-M-x ielm                                        Run elisp REPL
+C-M-x                                           Eval top-level form
+C-c C-z                                         Switch to REPL
+C-c C-c                                         Compile and load the top-level form at point
+C-c M-k                                         Compile (but not load) the current buffer's file
 
 # Shell
 M-!                                             Execute command
@@ -159,11 +175,7 @@ M-|                                             Execute with region
 C-u M-|                                         Filter with region
 M-x shell                                       Start a shell
 
-# Dired
-C-x C-j                                         Open dired at current file
-
 # Flyspell
-F8                                              Toggle flyspell-mode
 M-$                                             Correct word
 C-M-i                                           Automatically correct word
 C-;                                             Automatically correct last word