Skip to content

opsmanager/.hammerspoon

This branch is 1 commit behind jasonm23/.hammerspoon:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9d19d60 · Oct 4, 2015

History

16 Commits
Jul 20, 2015
Oct 3, 2015
Sep 13, 2015
Sep 13, 2015
Aug 13, 2015
Jul 20, 2015
Oct 3, 2015
Jun 23, 2015

Repository files navigation

Hammerspoon config

This is a Hammerspoon Config, originally based on @mgee's (mgee/dotfiles/hammerspoon).

It's written in Moonscript, enjoy.

The following rocks are required:

luarocks install moses
luarocks install moonscript

Changelog

Additional Quick Resize and Centering Macros

  • Resize and Move modes are now just cursor operated, Vi and Emacs shorcuts are removed, I did this assuming resize and move modes are probably unused, and I want more keys in this layer/mode to add macros. (If you are using hjkl or fbnp to resize or move, open an issue)

  • Center window (half height, half width) within modal mode

    • Modal mode + D = Half height, half width window of display size, centered.
  • Centered & Wide centered (full height) size + position within Resize and Moving Mode.

    • Move or Resize Mode + C = Full height, half width window of display size, centered.
    • Move or Resize Mode + B = Full height, 6/8ths width window of display size, centered.
  • Full Width - Resize Mode + W

  • Half Width - Resize Mode + H

  • Full Height - Resize Mode + T

Fix up 2015-07-20

  • Cleaned up README
  • git ignore usr/ folder (so that local tree of luarocks can be installed without storage in repo)

Removed Splash animation 2015-07-20

  • Nice, but too annoying when editing the config.

App Modal, Splash animation 2015-06-26

  • Modal selection of apps. Cmd + Opt + a
    • iTerm2 - t
    • Emacs - e
    • MacVim - v
    • Finder - f
    • Google Chrome - c

Added Lua 5.3 upgrade 2015-07-17

Added Toggle Wifi 2015-07-01

  • Added toggle wifi
  • Added animated splash

Added Modal application selection 2015-06-26

  • Added modal application selection Cmd + Alt + a -> [v]im, [t]erm, [e]macs, [c]hrome, [f]inder

Added activateNewChrome 2015-06-25

  • Switch to newly launched Chrome - MASH + =
    • (ie. for jasmine / rspec test browser instance)
  • Set grid to 8w x 6h
  • Added moses (underscore for Lua)

Updated Modal System 2015-06-24

  • Modal resizing and moving
  • Vim / Emacs / arrow direction key support h, j, k / C-p, C-n, C-b, C-f
    • Show a banner while modes are active
    • Don't use alerts

Added README 2015-06-23

  • You're looking at it.

Initial commit 2015-06-23

  • Modal move/resize/position modes <<<<<<< HEAD

  • MASH (Cmd + Ctrl + Opt) hotkeys for position, size, app switching

  • Applications

    • iTerm2 MASH + t
    • Emacs MASH + e
    • MacVim MASH + v
    • Finder MASH + f
    • Google Chrome MASH + c
  • Move/Size to quater screen

    • Top-left MASH + q
    • Top-right MASH + w
    • Bottom-left MASH + a
    • Bottom-left MASH + s
  • Move/Size MASH + up, down, left, right move/size to half screen position

  • Maximize MASH + SPACE

  • snap all to grid MASH + </kbd>

  • Grid 6h x 4w

  • Cmd+Alt (modal) 1, 2, 3 - position, size, move (Enter to end mode) =======

  • Mash (cmd,ctrl,opt) hotkeys for position, size, app switching

  • Apps iTerm2 (mash + t)

  • Emacs (mash + e)

  • MacVim (mash + v)

  • Finder (mash + f)

  • Google Chrome (mash + g)

  • mash + q,w,a,s move to quater screen size/position

  • mash + up, down, left, right move/size to half screen position

  • mash + space maximize

  • mash + \ snap all to grid

  • grid is 6h x 4w

  • Cmd+Alt (modal) 1,2,3 - position, size, move (Enter to end mode)

Add tall / wide

About

Hammerspoon config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MoonScript 99.5%
  • Lua 0.5%