Comment by saagarjha
6 years ago
Love love love Hammerspoon; I use it every day. People point me to all their little utility apps to keep their screen on or perform window snapping and I just write a little script and bind it to my hyper key :)
6 years ago
Love love love Hammerspoon; I use it every day. People point me to all their little utility apps to keep their screen on or perform window snapping and I just write a little script and bind it to my hyper key :)
What do you use it for?
I use hs.hotkey.modal to make Alt-Space pop up a modal window that tells me what I can do. Various keys open specific apps, e.g. Return opens Finder and Space opens iTerm. Other keys move and resize the currently window to specific areas. For example, I have a specific size and position for browser windows, another one for Finder windows, a third one for instant messaging windows, and a fourth one for terminal windows.
Very very rarely do I have to manually move windows around -- I find that almost all of my needs are covered with a set of specific window positions and sizes.
I also have a window selector that displays all windows and their names and allows me to use substrings to filter the list. But I find I never use it.
I used to use Hammerspoon to implement a "vi navigation" mode, toggled by tapping the Cmd key. In vi navigation mode, hjkl move the cursor, x deletes a character, and so on. But I discovered that Karabiner Elements can do something similar, and now I'm using that instead.
I used to use Hammerspoon for a "vi
Currently, a number of things: for example, I use it to switch between apps, resize windows, change my screen resolution, and give me access to system information that I paste often. If you’re really curious I have a copy if my configuration here, though it’s a little bit out of date because I haven’t cleaned up some of my new additions yet: https://github.com/saagarjha/dotfiles/tree/master/.hammerspo...