Content tagged cheat-sheet

An except from here:

  • M-x ispell - check the buffer or a region (if active)
  • M-x ispell-change-dictionary - select a new dictionary
  • SPACE - skip the current word
  • r - replace
  • a - treat as correct for this session
  • i - insert into the private dictionary
  • u - insert lowercase version into a private the private dictionary

Tig is a fast, curses-based git repository browser. It's well described here. Run:

  • tig - show the current branch
  • tig branch_name - show the branch of your choice
  • tig status - run in the status mode
  • tig blame file_name - run in blame mode

Press:

  • up/down arrow - move between commits
  • enter - int log mode, view the current commit; in blame mode, show the commit info that modified the name
  • j/k - scroll the commit patch
  • @ - in status mode, scroll chunk by chunk
  • shift-s - switch to status mode
  • u - in status mode, stage/unstage a file or a chunk
  • ! - in status mode, revert all the uncommitted changes
  • shift-c - in status mode, commit