Skip to content

Instantly share code, notes, and snippets.

@Steellow
Last active August 29, 2022 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Steellow/377f20611275aabda462b26c5c8c247f to your computer and use it in GitHub Desktop.
Save Steellow/377f20611275aabda462b26c5c8c247f to your computer and use it in GitHub Desktop.
Remap delete to cmd + ⌫ in Preview.app
-- Requires AppBindings.spoon: https://github.com/wyne/awesome-hammerspoon
hs.loadSpoon("AppBindings")
spoon.AppBindings:bind('Preview', {{{}, 'forwarddelete', {'cmd'}, 'delete'}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment