Split some sections into their own pages.
This commit is contained in:
parent
fb4c1ea685
commit
ca0cbc2f01
3 changed files with 86 additions and 79 deletions
33
doc/emacs_notes.md
Normal file
33
doc/emacs_notes.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Emacs
|
||||
|
||||
## Base
|
||||
|
||||
* `C-x C-s`: Save current file.
|
||||
* `C-x C-f`: Find or open file.
|
||||
|
||||
## Markdown
|
||||
|
||||
[Module Reference](http://www.mplayerhq.hu/design7/news.html)
|
||||
|
||||
* `C-c C-s 1`: Insert level one heading with hash delimiter.
|
||||
|
||||
## Evil
|
||||
|
||||
[Reference card](https://michaelgoerz.net/refcards/vimqrc.pdf)
|
||||
|
||||
* `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](https://magit.vc/manual/magit-refcard.pdf)
|
||||
|
||||
* `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
|
||||
|
47
doc/mac.md
Normal file
47
doc/mac.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Applications
|
||||
|
||||
## Multimedia
|
||||
|
||||
* [mplayer](http://www.mplayerhq.hu/design7/news.html)
|
||||
|
||||
``` shell
|
||||
brew install mplayer
|
||||
```
|
||||
|
||||
## [Gnu Stow](https://www.gnu.org/software/stow/)
|
||||
|
||||
Gnu Stow is a symlink manager that can be used to manager program configuration files or 'dotfiles'.
|
||||
|
||||
``` shell
|
||||
brew install stow
|
||||
```
|
||||
|
||||
## [Amethyst](https://ianyh.com/amethyst/)
|
||||
|
||||
Tiling window manager that doesn't need too heavy permissions.
|
||||
|
||||
# Keyboard Shortcuts
|
||||
|
||||
## Desktop
|
||||
|
||||
* `CMD-m`: Minimize focused app.
|
||||
* `CMD-q`: Kill the focused app.
|
||||
* `CMD-TAB`: Iterate apps in dock with arrows. Hold `OPT` when releasing to open.
|
||||
* `CTRL-CMD-q`: Lock Screen
|
||||
|
||||
## Amethyst
|
||||
|
||||
* `OPT-SHIFT-k`: Move focus ccw (j for cw)
|
||||
* `OPT-SHIFT-p`: Move focus to ccw screen (n for cw)
|
||||
* `CTRL-OPT-SHIFT-h`: Swap screens ccw (l for c)
|
||||
|
||||
## Safari
|
||||
|
||||
* Arrow keys: Scroll
|
||||
* `OPT-Arrow`: Fast scroll
|
||||
* `SHIFT-CMD-]`: Next or previous tab
|
||||
* `CMD-t`: New tab
|
||||
* `CMD-w`: Close active tab
|
||||
* `CMD-[`: Previous or next page
|
||||
* `CTRL-CMD-1`: Toggle bookmark view
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue