File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ < div class ="home-row-mods ">
2+ < p style ="margin-top: 20px; font-weight: bold "> HRM: Home Row Mods ⌃⌥⌘⇧</ p >
3+
4+ < p >
5+ Use home row keys as modifiers< br />
6+ This mod is generated using https://github.com/gregorias/karabiner.ts-greg-mods
7+ </ p >
8+
9+ < b > Key bindings:</ b >
10+ < ul >
11+
12+ < li > < kbd > a</ kbd > or < kbd > ;</ kbd > for < kbd > ⌃</ kbd > </ li >
13+ < li > < kbd > s</ kbd > or < kbd > l</ kbd > for < kbd > ⌥</ kbd > </ li >
14+ < li > < kbd > d</ kbd > or < kbd > k</ kbd > for < kbd > ⌘</ kbd > </ li >
15+ < li > < kbd > f</ kbd > or < kbd > j</ kbd > for < kbd > ⇧</ kbd > </ li >
16+ </ ul >
17+
18+ < code >
19+ import { rule, writeToProfile } from "karabiner.ts";
20+ import { hrm } from "karabiner.ts-greg-mods";
21+
22+ writeToProfile("Default profile", [
23+ rule("Home row mods").manipulators(
24+ hrm(
25+ new Map([
26+ ["a", "l⌃"],
27+ ["s", "l⌥"],
28+ ["d", "l⌘"],
29+ ["f", "l⇧"],
30+
31+ ["j", "r⇧"],
32+ ["k", "r⌘"],
33+ ["l", "r⌥"],
34+ [";", "r⌃"]
35+ ])
36+ ).build()
37+ )
38+ ]);
39+ </ code >
40+
41+ </ div >
Original file line number Diff line number Diff line change 720720 "path" : " json/swap_cmd_option_unless_apple.json"
721721 },
722722 {
723- "path" : " json/home_row_mods.json"
723+ "path" : " json/home_row_mods.json" ,
724+ "extra_description_path" : " extra_descriptions/home_row_mods.html"
724725 }
725726 ]
726727 },
You can’t perform that action at this time.
0 commit comments