Skip to content

Latest commit

 

History

History
156 lines (153 loc) · 4.04 KB

emacs.org

File metadata and controls

156 lines (153 loc) · 4.04 KB

Emacs learning

Learn to use multiple cursors

Learn to use magit better

  • [X] How to stage
    • On the status buffer
      1. s
  • [X] How to unstage
    • On the status buffer
      1. u
  • [X] How to collapse diff on status mode
    • tab
    • 1, 2, 3
  • [X] How to commit
    • On the status buffer
      • without amend
        1. c
        2. c
        3. type commit message
        4. C-c C-c
      • with amend
        1. c
        2. a
        3. Edit commit message
        4. C-c C-c
  • [X] How to fetch
    • On the status buffer
      1. f
      2. a
        • for all
  • [X] How to push
    • On the status buffer
      1. P
      2. P
  • [X] How to checkout branch
    • On status buffer
      • origin branch
        1. b
        2. b
        3. select branch you want
        4. answer yes on creating local branch
        5. local branch on default has the same name
      • local branch
        1. b
        2. b
        3. select branch you want
  • [X] How to reset unstaged edit per file
    • On status buffer
      1. Expand file
      2. v
      3. Answer yes
  • [X] How to delete untracked file (kill)
    • On status buffer
      1. k
  • [X] How to interactively rebase
    • On status buffer
      1. E
      2. Decide starting point ie. HEAD~3
      3. Decide on what to do per commit
        • e edit
        • r reword
        • s squash
      4. C-x # when done
      5. Make the changes
      6. R on status buffer
      7. c to continue
    • On log buffer
      1. E
      2. Decide on what to do per commit
        • e edit
        • r reword
        • s squash
      3. C-x # when done
      4. Make the changes
      5. R on status buffer
      6. c to continue
  • [X] How to fetch and reset to origin state
    • On status buffer
      1. f
      2. -f to -prune
      3. a for all
      4. x to reset
      5. Choose the revision (origin/master maybe?)
      6. X to reset to the last committed state
  • [X] How to merge branch to another
    • On status buffer
      1. m
      2. m
      3. choose which branch to merge
      4. press y to merge if dirty tree

Learn to use projectile better

  • [X] How to switch project
    1. C-c p p
  • [X] How to ag content
    1. C-c p s s
  • [X] List all project buffers
    1. C-c p b
  • [X] How to close project buffers
    1. C-c p k

Learn to use shell inside emacs

Learn to use macros

Add dictionary.el

  • H-M-d dictionary-search
  • H-M-m dictionary-match-words

Learn to use org-mode

Look into company-mode

Look into tern

Look into helm-swoop

winner-mode

  • Undo C-c left
  • Redo C-c right

Learn to use expand-region

  • [ ] Setup
  • [ ] Basics

Add ace-jump

Look into neotree

whitespace butler for whitespace clean up

Setup re-builder

Align commands