dotfiles
.bashrc
for Git Bash (Windows).gitconfig
.hammerspoon/
(macOS).vimrc
: coming soon™.zshrc
for Zsh (macOS): coming soon™
Hammerspoon scripts
Hammerspoon is an automation tool for macOS.
cmd-q-q.lua
Press Cmd+Q twice to quit the current app.
Normally apps are quit by pressing Cmd+Q once.
Windows are quit by pressing Cmd+W.
The Q and W keys are next to each other, so it's too easy to accidentally quit the whole app when you meant to just close a single window.
This script fixes the problem:
- Pressing Cmd+Q once does nothing.
- Pressing Cmd+Q twice quits the current app.