A macOS utility that instantly resizes the frontmost window to extend rightward until it touches the next adjacent window.
KissNeighbor uses the Accessibility API to:
- Find the frontmost application window
- Locate the nearest window to the right that overlaps vertically
- Resize the frontmost window to extend right and "kiss" (touch) that neighbor window
Perfect for quick window tiling without manual resizing.
cd~/Documents/GitHub/KissNeighbor
chmod +x build.sh
./build.shSystem Settings → Privacy & Security → Accessibility → Add Hammerspoon
# Install Hammerspoon
brew install hammerspoon
# The config is already created at ~/.hammerspoon/init.lua# Just open Hammerspoon from Applications
open /Applications/Hammerspoon.appPress Cmd+Shift+K anytime to extend the active window right. No UI, instant execution.
- Compiled Objective-C binary for instant execution (~5ms)
- Hammerspoon runs in background as a daemon
- Responds instantly to global hotkeys with zero delay
- No UI popups, completely silent
kissneighbor.m- Objective-C sourcebuild.sh- Compilation scriptkissneighbor- Compiled binary (generated)~/.hammerspoon/init.lua- Hammerspoon config
MIT can