Skip to content

Instantly share code, notes, and snippets.

@Dimentium
Dimentium / mouse.edn
Created February 15, 2021 19:29
Goku example for rule: "Maps button3 + button1/button2 to scroll up/down"
{:des "Maps button3 + button1/button2 to scroll up/down"
:rules [;;
[{:pkey :button3} ["button3_down" 1] nil {:afterup ["button3_down" 0] :alone {:pkey :button3}}] ;
[{:pkey :button1} {:mkey {:vwheel 32}} ["button3_down" 1]] ;
[{:pkey :button2} {:mkey {:vwheel -32}} ["button3_down" 1]] ;
]}
@Dimentium
Dimentium / karabiner_cut.json
Last active June 25, 2020 11:01
simultaneously i + o act as TAB (cut from full config)
{
"description" : "i-mode",
"manipulators" : [ {
"from" : {
"key_code" : "o"
},
"to" : [ {
"key_code" : "tab"
} ],
"conditions" : [ {
@Dimentium
Dimentium / karabiner.json
Created June 25, 2020 10:48
simultaneously i + o act as TAB
{
"global" : {
"check_for_updates_on_startup" : true,
"show_in_menu_bar" : false,
"show_profile_name_in_menu_bar" : false
},
"profiles" : [ {
"complex_modifications" : {
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : null,