System Preferences > Keyboard > Modifier Keys
Caps Lock => Escape
Control => fn/Globe
Option => Option
Command => Command
fn/Globe => Control
System Preferences > Keyboard > Shortcuts > App Shortcuts > +
- All applications
Close Tab => Control-w
Copy => Control-c
Paste => Control-v
- Google Chrome / Other Browswers
New Tab => Control-t
-
Add workspaces
- Applications > Mission Control > Plus Icon
-
Add shortcuts to move between workspaces
- System Preferences > Keyboard > Shortcuts > Mission Control
Move left a space => Control-Command-Left Arrow
Move right a space => Control-Command-Right Arrow
-
Create an
Automator
service -
Launchpad > Automator > File > New > Quick Action
-
Change
Workflow receives current
dropdown tono input
alacritty
-
Drag
Run Shell Script
to workflow box -
Get the path to Alacritty and enter it in text area
which alacritty
/usr/local/bin/alacritty </dev/null &>/dev/null &
Then be sure to add a matching keybinding to .alacritty.toml, because this will not open a new window if alacritty is already focused
.alacritty.toml
[[keyboard.bindings]]
action = 'SpawnNewInstance'
key = 'T'
mods = 'Control|Command'
default terminal
-
Drag
Run AppleScript
to workflow box -
Enter the following command in text area
tell application "Terminal" do script "" activate end tell
-
Save the quick action: File > Save (with name like AutomatorActionName)
-
Set the keyboard shortcut: System Preferences > Keyboard > Shortcuts > Services > General > AutomatorActionName
A note on homebrew installations:
If you are getting a SHA-256 mismatch:
- Remove downloaded .gz / .zip file from cache directory
brew --cache packagename
- Download matching release from githuub
- Overwrite downloaded file from github to cache using
mv
- Install via
brew upgrade packagename
- Settings
- Make Chrome default browser
- Make Chrome open tabs "where last left off"
Make sure Slack notifications are on System Preferences > Sounds and Notifications > Slack > Enable
- Git autocomplete in terminal https://www.macinstruct.com/tutorials/how-to-enable-git-tab-autocomplete-on-your-mac/
-
Use the Uninstall 'code' command in the PATH command before the "Install 'code' command in PATH" command.
-
Download and install config from https://github.com/tecfu/vscode-config
brew edit vim
system "./configure", "--prefix=#{HOMEBREW_PREFIX}",
"--mandir=#{man}",
"--enable-multibyte",
"--with-features=huge",
brew install --build-from-source vim
brew link vim
- Remap tile-left, tile right, tile right-top ... etc
brew install --cask rectangle
- Tracks clipboard history
brew install --cask jumpcut
- Use to cycle windows, whereas mac native cycles by applications
brew install --cask alt-tab
Preferences
- Keybinding:
<alt-tab>
- Minimized Windows: Hide
- Hidden Windows: Hide
brew install tree
- surfingkeys https://github.com/tecfu/Surfingkeys/tree/hack_hint_sizes
- Best known vim plugin (> vimium, > vimium-c)
- Duplicate Tab: https://github.com/stefansundin/duplicate-tab