Skip to content

Instantly share code, notes, and snippets.

View theReticent's full-sized avatar

Ilia Vakili theReticent

View GitHub Profile
@prenagha
prenagha / init.lua
Created September 30, 2016 00:36
Hammerspoon Config File, Hyper Key, Karabiner-Elements
-- hattip https://github.com/lodestone/hyper-hacks
-- hattip https://gist.github.com/ttscoff/cce98a711b5476166792d5e6f1ac5907
-- A global variable for the sub-key Hyper Mode
k = hs.hotkey.modal.new({}, 'F18')
-- Hyper+key for all the below are setup somewhere
-- The handler already exists, usually in Keyboard Maestro
-- we just have to get the right keystroke sent
@jogjayr
jogjayr / private.xml
Created May 17, 2015 19:12
Karabiner `private.xml`
<?xml version="1.0"?>
<root>
<item>
<name>Bind Hyper + J to left arrow</name>
<identifier>private.caps_leftarrow</identifier>
<autogen>
__KeyToKey__
KeyCode::J, ModifierFlag::COMMAND_L, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L,
KeyCode::CURSOR_LEFT
</autogen>