Skip to content

Commit dc80eff

Browse files
committedMar 15, 2025
.
1 parent 910a751 commit dc80eff

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed
 

‎karabiner/karabiner.edn

+20-14
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
:shell "%s"
1414
}
1515
:simlayers {
16+
:1-mode {:key :1}
1617
:2-mode {:key :2}
1718
:3-mode {:key :3}
1819
:4-mode {:key :4}
@@ -192,6 +193,15 @@
192193
;[[:l :m] :!TOSt] ; Raycast AI quick chat
193194
;[[:k :n] :!TOSu] ; Raycast AI window
194195
;[[:j :semicolon] :!TOSw] ; Notion Command Search TODO: replace with LA global search (with same Notion like raycast window) (inline info!)
196+
{:des "1key (things)"
197+
:rules [:1-mode
198+
[:j [[:open-g "dash-plugin://query=.tsprofile%3A&prevent_activation=true"] ["in-ts" 1] ["in-rust" 0] ["in-swift" 0] ["in-go" 0] ["in-python" 0]]] ; TS
199+
[:semicolon [[:open "dash-plugin://query=.swiftprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 0] ["in-swift" 1] ["in-go" 0] ["in-python" 0]]] ; Swift
200+
[:n [[:open "dash-plugin://query=.pyprofile%3A&prevent_activation=true"] ["in-python" 1] ["in-go" 0] ["in-ts" 0] ["in-elixir" 0] ["in-rust" 0] ["in-swift" 0]]] ; Python
201+
[:m [[:open "dash-plugin://query=.goprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 0] ["in-swift" 0] ["in-go" 1] ["in-python" 0]]] ; Go
202+
[:period [[:open-g "dash-plugin://query=.rustprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 1] ["in-swift" 0] ["in-go" 0] ["in-python" 0]]] ; Rust
203+
]}
204+
;[:o [:alfred "soulver" "app.soulver.alfredworkflow"]]
195205
{:des "2key (move + alfred)"
196206
:rules [:2-mode
197207
[:j :!Cdown_arrow]
@@ -229,17 +239,12 @@
229239
[:k [:km "list: Alfred workflows"]]
230240
[:l [:km "list: Command line tools"]]
231241
[:n [:km "list: Events"]]]}
232-
{:des "tabkey (things)"
242+
{:des "tabkey (more projects)"
233243
:rules [:tab-mode
234244
; TODO: find convention for non `.` projects
235245
[:n [:km "cursor: py.."]]
236246
[:m [:km "cursor: go.."]]
237247
; TODO: add more
238-
[:j [[:open-g "dash-plugin://query=.tsprofile%3A&prevent_activation=true"] ["in-ts" 1] ["in-rust" 0] ["in-swift" 0] ["in-go" 0] ["in-python" 0]]] ; TS
239-
[:semicolon [[:open "dash-plugin://query=.swiftprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 0] ["in-swift" 1] ["in-go" 0] ["in-python" 0]]] ; Swift
240-
[:n [[:open "dash-plugin://query=.pyprofile%3A&prevent_activation=true"] ["in-python" 1] ["in-go" 0] ["in-ts" 0] ["in-elixir" 0] ["in-rust" 0] ["in-swift" 0]]] ; Python
241-
[:m [[:open "dash-plugin://query=.goprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 0] ["in-swift" 0] ["in-go" 1] ["in-python" 0]]] ; Go
242-
[:period [[:open-g "dash-plugin://query=.rustprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 1] ["in-swift" 0] ["in-go" 0] ["in-python" 0]]] ; Rust
243248
;[:d [:km "Open Dash and search docsets"]]
244249
;[:hyphen [:km "cursor: vscode."]]
245250
;[:equal_sign [:km "cursor: bluesky."]]
@@ -886,9 +891,9 @@
886891
;[:z :!CO0] ; Show Dropzone dropdown
887892
{:des "capskey (projects)"
888893
:rules [:escape-mode
889-
[:1 [:km "cursor: ronin."]]
890-
[:2 [:km "cursor: effect."]]
891-
[:3 [:km "cursor: expo."]]
894+
[:1 [:km "cursor: ronin-dep"]]
895+
[:2 [:km "cursor: effect-dep"]]
896+
[:3 [:km "cursor: expo-dep"]]
892897
[:4 [:km "cursor: tanstack."]]
893898
[:5 [:km "cursor: nextjs."]]
894899
[:6 [:km "cursor: jax."]]
@@ -1097,15 +1102,16 @@
10971102
[:s [:km "Clone repo to ~/clones"]]
10981103
[:h [:km "edit: GitHub Bio"]]
10991104
[:j [:km "cursor: ts:scripts/run.ts"]]
1100-
[:i [:km "edit: run.zig"]]
1101-
; TODO: fix
1102-
[:n [:km "edit: run.rs"]]
1103-
[:m [:km "edit: run.go"]]
1105+
[:i [:km "cursor: config:fish/private.fish"]]
11041106
[:o [:km "edit: Fish alias/functions"]] ; TODO: bind to run.swift, move fish alias to something nice too
11051107
;[:k [:km "cursor: ui"]] ; TODO: do
11061108
[:l [:km "cursor: config:fish/config.fish"]]
11071109
[:semicolon [:km "edit: run.swift"]]
1108-
[:period [:km "edit: run.py"]]
1110+
[:n [:km "edit: run.py"]]
1111+
[:m [:km "edit: run.go"]]
1112+
[:comma [:km "edit: run.zig"]]
1113+
[:period [:km "edit: run.rs"]]
1114+
[:slash [:km "edit: run.odin"]]
11091115
; TODO: do smth better
11101116
;[:spacebar :!CSOy] ; Selection -> Stack Overflow
11111117
]}

0 commit comments

Comments
 (0)
Failed to load comments.