Skip to content

Instantly share code, notes, and snippets.

@nfunato
Last active May 28, 2020 08:37
Show Gist options
  • Select an option

  • Save nfunato/2d1f40acbaedf6f8760fcd438f224d2a to your computer and use it in GitHub Desktop.

Select an option

Save nfunato/2d1f40acbaedf6f8760fcd438f224d2a to your computer and use it in GitHub Desktop.

basic key-sequences memo when using Lisp on Macintosh

MAC

  • ctrl-UP invoke mission control
  • ctrl-DOWN back from mission control
  • ctrl-LEFT left screen
  • ctrl-RIGHT right screen

slime/paredit/repl

  • M-? slime-edit-uses: Lookup all the uses of SYMBOL.
  • M-[ paredit-convolte-sexp (originally on M-?, and remapped by nf)
  • ctrl-shift-) paredit slurp
  • ctrl-shift-} paredit barf
  • C-cM-m slime-macroexpand-all
  • C-t toggle-truncate-lines (mapped by nf for slime-repl-mode-map)
  • C-cC-o slime-repl-cleanup (in slime-repl-mode-map)
  • C-cM-o slime-repl-clear-buffer (ditto)
  • C-cI slime-inspect / slime-repl-inspect

comint (base layer of REPL)

  • M-p, M-n prev/next input
  • C-cC-p, C-cC-n goto prev/next prompt

shell-mode (w/ MAC and slime, not so useful)

https://ayatakesi.github.io/emacs/25.1/Shell-Mode.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment