Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 946 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 946 Bytes

labs

Goals

  • Experiments ideas in c++14

  • Back-port old-fashioned personal code to c++14

Emacs commands

  • package-list-packages Lists packages

  • C-g Cancel

  • C-x k Kill buffer

  • C-x 1 Close other buffer

  • C-x 2 Split window up/down

  • C-x 3 Split window left/right

  • C-x 0 Close current buffer

  • C-l Center view on line

  • M-< goto beginning of buffer

  • M-> goto end of buffer

  • M-q fill-paragraph, fill-comment in prog-mode

  • align-current align-regexp Used for aligning variable initialization.

magit

  • s to stage files
  • S stage all files
  • c c to commit (type the message, then press C-c C-c to actually commit)
  • b b to switch to another branch
  • P p to do a git push
  • F p to do a git pull
  • k to discard changes
  • M-x magit-log-buffer-file - Show git log for the active buffer