GNU Cheat Sheet (Tour: https://www.gnu.org/software/emacs/tour/)

Note: Lispworks editor commands mostly compatible. One difference is that compiling a Lisp form in Lispworks editor is c-sh-c (not c-c c-c as in regular Emacs.)

Emacs Help Lisp Move cursor · Tutorial: c-h t · Start Lisp: m-x slime · Index of help commands: c-h ? · Compile Lisp form: c-c c-c c-f Forward a character c-b Backward a character · Search for command: c-h a · Eval Lisp form: c-m-x m-f Forward a word · Describe command: c-h w · Format/indent s-expr: c-m-q m-b Backward a word · Describe command: m-x apropos · Symbol complete c-m-i, c-c TAB c-m-f Forward s-expression · Describe key binding: c-h c · Find Lisp definition: m-. c-m-b Backward s-expression General · TAB will indent or complete c-c c-p Move to prev REPL cmd · Abort command (eg search): c-g · SPACE will show function arglists c-c c-n Move to next REPL cmd · Search: c-s (forward), c- (rev) · REPL buffer: *slime-repl sbcl* c-n Next line · Search&repl: m-% [type values] · Debugger buffer: *sldb sbcl/0* c-p Previous line · Mark region: c-SPACE and move · Yank prev REPL cmd: m-p c-a Beginning of line · Exit: c-x c-c · Yank next REPL cmd: c-p c-e End of line · Load E-lisp file: m-x load-file Deleting/restoring · Eval E-lisp expr: m-: · Char: c-d c-a Beginning of s-expression c-e End of s-expression Panes · Word: m-d c-m-u UP s-expression · Two panes (horiz): c-x · S-expr: c-m-d · Two panes (vert): c-x 2 · Kill line (store): c-k m-v Backward a page · Single pane (selected one): c-x 0 · Delete/store marked region: c-w c-v forward a page · Switch focus to other pane: c-x o · Store marked region: m-w c-l Center on page m-< File beginning Files and buffers · Yank (paste) stored text: c-y m-> File end · Select buffer: c-x b [type name] · Undo: c-/ or c- · List buffers: c-x c-b Misc text · Open file: c-x c-f [type name] · Upper case: m-u Useful extensions · Save: c-x c-s · Lowercase: m-l · Swap current buffer: c-; · Save as: c-x c-w [type name] · Open newline: c-o · Select REPL buffer: c-m-; · Kill buffer: c-x k [select buffer] · Transpose s-expressions: c-m-t · Select shell buffer: c-, · Create shell buffer: m-x shell · Comment region: c-= · Uncomment region: c-&

1