!!! For M1/M2 apple silicon see this comment:
For MacOS | Mojave | High Sierra
# -*- coding: utf-8 -*- | |
# | |
# Copyright © 2012 Thomas TEMPÉ, <thomas.tempe@alysse.org> | |
# Copyright © 2014 Alex Griffin, <alex@alexjgriffin.com> | |
# | |
# DWTFYW license. | |
# Do what the fuck you want with this file. | |
import string |
!!! For M1/M2 apple silicon see this comment:
For MacOS | Mojave | High Sierra
On iTerm2 - Open Preferences > Profiles > Keys > Key Mappings > Presets > Select Natural Text Editing | |
- You can move a word backwards using Option ⌥ + ← and a word forwards using Option ⌥ + → | |
- Move to the start of the line using fn + ← and to the end of the line with fn + →. | |
- Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫. | |
If the preset doesn't appear, reinstall iTerm2. If you installed it using Homebrew + Cask: | |
brew cask reinstall iterm2 |
Based on this blogpost.
To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.
Install with Homebrew:
$ brew install gpg