Split some sections into their own pages.

This commit is contained in:
jgrogan 2024-05-31 17:00:55 +01:00
parent fb4c1ea685
commit ca0cbc2f01
3 changed files with 86 additions and 79 deletions

View file

@ -1,86 +1,13 @@
This repo has some scripts and small notes for setting up development ennvironments This repo has some scripts and small notes for setting up development and deployment environments on different platforms.
# Mac * [Mac Development](./doc/mac.md)
* [Emacs](./doc/emacs_notes.md)
* [VM Notes](./doc/vm_notes.md)
## Multimedia There is another repo just for dotfiles that may be of interest also: https://codeberg.org/jmsgrogan/dotfiles
* [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
### Amethys
* `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
### 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
# Copyright # Copyright
The contents of this repo are Copyright James Grogan 2024. Software is licensed under the AGPL. See the included LICENSE file for details. The contents of this repo are Copyright James Grogan 2024. Software is licensed under the AGPL. See the included LICENSE file for details.
Documentation and images can be re-used under a Creative Commons CC BY-SA license: https://creativecommons.org/licenses/by-sa/4.0/

33
doc/emacs_notes.md Normal file
View 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
View 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