sidesetr.blogg.se

Hammerspoon docs
Hammerspoon docs









It uses Hammerspoon’s various powerful built-in modules including the drawing module, the app watcher module, and the window listener module. This module was very different to write since it was pure Lua.

#HAMMERSPOON DOCS WINDOWS#

I later repurposed it to switch between Sublime Windows for the same reason when I switched back to Sublime Text. This module allowed me to wrangle Emacs windows to more easily switch between different projects. This was originally motivated by my switching to Spacemacs and it not having a good solution for working on many different projects like Vim tabs. The tabs sit in the top right of the title bar and allow you to easily switch between windows of an app with keyboard shortcuts (e.g ctrl+tab number) and later by clicking. The second Hammerspoon module I wrote was one that allows you to add tabs to any OSX Application. It didn’t take much time, and is very enjoyable to use, and because the module was added to the core Hammerspoon distribution, lots of other people can also benefit from it. The module was written mostly in a single evening as a native Lua module (originally for Mjolnir, the precursor to Hammerspoon). They allow you to switch to any window with only two keystrokes: One shortcut to bring up icons and letters for every window, and then simply hitting the key corresponding to the window you want. The first Hammerspoon module I wrote was a port of Slate’s window hints, which if you’ve ever used Vimium or Vimperator, are like link hints for windows. This post explores some of the ways I’ve used Hammerspoon to greatly enhance my general OSX-using experience. I think of it more as a general-purpose tool for modifying OSX’s user interface than just a window manager.

hammerspoon docs

It’s fully configurable with Lua, has tons of built in modules and it is simple to write your own modules. Hammerspoon gives me most of the power that a fancy Linux tiling window manager and configurable desktop would give me, without having to switch operating systems. Advanced Hackery With The Hammerspoon Window ManagerĪlong with Dash, Sketch and Papers, one of the main reasons I haven’t yet switched to Linux is Hammerspoon.









Hammerspoon docs