Skip to content

Latest commit

 

History

History

hammerspoon

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Notes

  • Hyper (i.e. Command + Control + Option) is defined via Karabiner-Elements. Caps Lock is mapped to Hyper when held down, Escape when tapped.
  • Unlike
  • Spoons/ is a symlink to the git cloned repo ~/Spoons/Spoons, in which all .spoon.zip files have been unzipped. Otherwise, I'd have to manually point to the Spoons like so:
-- Look for Spoons in ~/.hammerspoon/MySpoons as well
package.path = package.path .. ";" ..  hs.configdir .. "/MySpoons/?.spoon/init.lua"

More info here.

TODO

Rename hs-config to hammerspoon. Needlessly complicated.

window management:

  • fancyzones-like visual grids
    • define grids with lua; hyper+[something] calls it
    • hyper+g: shows grid overlay
    • hyper+s: snaps all open windows to closest grid square

app remapping - replace BetterTouchTool

  • VS Code: Remap cmd+h to cmd+opt+ctrl+h
  • PyCharm: Remap cmd+h to cmd+opt+ctrl+shift+h
  • Sublime Text: Remap cmd+h to cmd+opt+ctrl+shift+h
  • Firefox:
    • opt+tab to opt+ctrl+j
    • opt+shift+tab to opt+ctrl+k
  • Reaper:
    • ctrl+0 to cmd+opt+ctrl+0
    • ctrl+1 to cmd+opt+ctrl+1
    • ctrl+2 to cmd+opt+ctrl+2
    • ctrl+3 to cmd+opt+ctrl+3
    • ctrl+4 to cmd+opt+ctrl+4
    • ctrl+5 to cmd+opt+ctrl+5
    • ctrl+6 to cmd+opt+ctrl+6
    • ctrl+7 to cmd+opt+ctrl+7
    • ctrl+8 to cmd+opt+ctrl+8
    • ctrl+9 to cmd+opt+ctrl+9
    • cmd+h to cmd+opt+ctrl+h
  • any terminal: cmd = tmux prefix

references