Skip to content

Latest commit

 

History

History
107 lines (73 loc) · 3.81 KB

hammerspoon-shortcuts.md

File metadata and controls

107 lines (73 loc) · 3.81 KB

Beginner-Friendly introduction to Hammerspoon

Hammerspoon is a great automation tool for macOS, it'll help you replace all the utilities that fill your bar. And it will add features you didn't even know you wanted / needed. Ready ? Yeah ? So, let's dive in !

Install Hammerspoon

  1. Visit this page
  2. Download the following spoons and click on them for installation:
  • WifiNotifier - Receive notifications every time your wifi network changes.
  • Shade - Creates a semitransparent overlay to reduce screen brightness.
  • MountedVolumes - Displays a list of mounted volumes and a pie chart for each indicating free space on the desktop
  • HoldToQuit - Instead of pressing + Q, hold + Q to close applications.
  • ClipboardTool - Keep a history of the clipboard for text entries and manage the entries with a context menu
  • DeepLTranslate - Show a popup window with the translation of the currently selected text
  • MenuHammer - A Spacemacs inspired menu system for macOS built for Hammerspoon.
  • MicMute) - To mute/unmute your microphone.

Shortcuts

ctrl + + cmd → Is referred to as hyper

For example:

ctrl + + cmd + d

Becomes:

hyper + d

(click the triangle below "►" to expand the list of shortcuts)

All the shortcuts

Open Menu (MenuHammer)

alt + space

Open new Applications window

hyper + 1

Run the "organize" app

organize hyper + 2

Focus on Finder window

hyper + w

Open Deepl (DeepLTranslate)

hyper + d

Focus on Firefox

hyper + x

Focus on Visual Studio Code

hyper + c

Focus on Telegram

hyper + v

Focus on Rambox

hyper + b

Focus on Mailspring

hyper + n

Focus on iTerm

hyper + ,

Show Clipboard (ClipboardTool)

hyper + ,

Run shade

hyper + s

Resize current window (MiroWindowsManager)

Resize to use the left half of the screen hyper +

Resize to use the right half of the screen hyper +

Resize to use the left top quarter of the screen hyper + +

Resize to use the right top quarter of the screen hyper + +

...

Resize to use the full width of the screen hyper + +

Resize to use the full height of the screen hyper + +

My config

Can be found here

It is basically a mix from my trials and errors and several examples i found either in the official documentation, or here and here.

I tried it to make it a bit easier to configure and set up than the examples i found online.

Contribute

If you have improvements idea, or face a bug, feel free to open an issue / pull request.