recipes/doc/emacs_notes.md
2024-05-31 17:00:55 +01:00

727 B

Emacs

Base

  • C-x C-s: Save current file.
  • C-x C-f: Find or open file.

Markdown

Module Reference

  • C-c C-s 1: Insert level one heading with hash delimiter.

Evil

Reference card

  • CTRL- {D, U, F, B}: Scroll down/up by half or full page
  • zt zz zb: Scroll current line to top, centre, bottom
  • { }: Move to beginning or end of paragraph
  • h l j k: Character left, right, up, down

Magit

Reference card

  • CTRL-x g: Status buffer
  • S: Stage all changes
  • c: Start a commit
    • C-c C-c: Finish a commit
  • P: Start a push
    • u: Push to origin