Advertisement
Shinmera

Emacs Keybind Reference

Aug 31st, 2013
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. Emacs Reference
  2. ===============
  3. Note: Some keybindings are defined just for me.
  4.  
  5. General:
  6. * C-c k delete-this-buffer-and-file
  7. * C-q er/expand-region
  8. * C-h k describe-key
  9. * C-k kill-line
  10. * C-x C-v find-alternate-file
  11.  
  12. ECB:
  13. * C-x C-g find-file-in-project
  14. * C-x d ecb-goto-window-directories
  15. * C-x s ecb-goto-window-sources
  16. * C-x e ecb-goto-window-edit-last
  17.  
  18. Slime:
  19. * M-. slime-edit-definition Switches to function definition.
  20. * M-, slime-pop-find-definition-stack Jump back from a function definition.
  21. * C-x <up> slime-repl-backward-input
  22. * C-x <down> slime-repl-forward-input
  23. * C-c C-y slime-call-defun Inserts call to current function into REPL.
  24. * C-c M-m slime-macroexpand-all Display recursively macro-expanded sexp.
  25. * C-c RET slime-expand-1 Display macro-expansion at point.
  26. * C-c C-w c slime-who-calls Show all known callers of the function.
  27. * C-c C-w r slime-who-references Show all known referrers of the global variable.
  28. * C-c C-w s slime-who-sets Show all known setters of the global variable.
  29. * C-c C-w b slime-who-binds Show all known binders of the global variable.
  30. * C-c C-w m slime-who-macroexpands Show all known expanders of the macro.
  31. * C-u C-c C-c -- Compile with (debug 3).
  32. * C-c M-m slime-macroexpand-all Macroexpand all.
  33.  
  34. Mark-Multiple:
  35. * C-S-c C-S-c mc/edit-lines
  36. * C-M-<next> mc/mark-next-like-this
  37. * C-M-<prior> mc/mark-previous-like-this
  38. * C-M-m <down> mc/mark-next-like-this
  39. * C-M-m <up> mc/mark-previous-like-this
  40. * C-M-m <right> mc/unmark-next-like-this
  41. * C-M-m <left> mc/unmark-previous-like-this
  42. * C-M-m a mc/mark-all-like-this
  43. * C-x r y yank-rectangle
  44.  
  45. Paredit:
  46. * M-( wrap-around Wraps parenthesis around next expr.
  47. * C-<right> forward-slurp-sexp Pulls following expr into current expr.
  48. * C-<left> forward-barf-sexp Throws last expr out of current expr.
  49. * M-g raise-sexp Replace parent expr with child.
  50. * M-<up> splice-sexp-killing-backward Removes parent.
  51. * M-? convolute-sexp Switches the current expr with parent.
  52. * C-k paredit-kill Same as kill-line but expr-aware.
  53. * M-s paredit-split-sexp Splits expr at current point.
  54. * M-j join-sexps Joins two adjacent exprs.
  55.  
  56. Org:
  57. * C-RET -- Inserts a new headline.
  58. * M-RET -- Insert headline with time (collides with WMFS).
  59. * C-S-RET -- Inserts a new todo item.
  60. * C-c C-c -- Toggle/Modify (headings: Add tag)
  61. * C-c C-t -- Cycle between todo modes.
  62. * C-c . -- Insert a timestamp.
  63. * C-c \ -- Search tags.
  64. * S-TAB -- Show overview.
  65. * M-S-LEFT/RIGHT -- Promote/demote with subitems.
  66. * C-c C-x C-i -- Start clock.
  67. * C-c C-x C-o -- Stop clock.
  68. * C-c C-x C-q -- Cancel the clock.
  69. * C-c C-x C-x -- Reclock the time.
  70. * C-c C-x - -- Insert list item with time.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement