Skip to content

Instantly share code, notes, and snippets.

View mathisto's full-sized avatar
💭
💎 .hack// 💻

Matt Kelly mathisto

💭
💎 .hack// 💻
View GitHub Profile
@mathisto
mathisto / PullRequestTemplate.md
Created May 3, 2022 17:59
PullRequestTemplate.md

If this PR were a GIF, what would it be?

Pull Request Police

Relevant ticket(s)

Description of change

Screenshots

@mathisto
mathisto / init.lua
Created October 5, 2020 13:46
My `~/.hammerspoon/init.lua` config file. Uses a QMK bound F19 key to allow for optional "modified" hyper chords.
hs.application.enableSpotlightForNameSearches(true)
hs.notify.new({title="Hammerspoon", informativeText="Config loaded"}):send()
hs.window.animationDuration = 0 -- Animations are silly
-- Load Spoons
hs.loadSpoon("WinWin")
hs.loadSpoon("ReloadConfiguration")
spoon.ReloadConfiguration:start()
-- Bind the Hyper key
@mathisto
mathisto / DefaultKeyBinding.md
Created December 3, 2019 16:46
Windows style Home/End/Movements

I wanted my Home and End keys to behave as they do in Windows. I found a nice solution here and thought I would update with the recomended changes for modern OS versions.

  1. If not present, create directory ~/Library/KeyBindings.
  2. Create file ~/Library/KeyBindings/DefaultKeyBinding.dict
3. Paste the following contents:
{
  "\UF729"  = moveToBeginningOfLine:; // home
  "\UF72B"  = moveToEndOfLine:; // end