edit in source_edit.lua at line 398
+ local dm = App.default_modifier
replacement in source_edit.lua at line 404
[8.32463]→[8.12:197](∅→∅) − chord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and chord ~= 'delete' and chord ~= 'C-z' and chord ~= 'C-y' and not App.is_cursor_movement(key) then
+ chord ~= dm('a') and chord ~= dm('c') and chord ~= dm('x') and chord ~= 'backspace' and chord ~= 'delete' and chord ~= dm('z') and chord ~= dm('y') and not App.is_cursor_movement(key) then
replacement in source_edit.lua at line 433
[8.159170]→[8.159170:159199](∅→∅) − elseif chord == 'C-f' then
+ elseif chord == dm('f') then
replacement in source_edit.lua at line 440
[8.160402]→[8.160402:160431](∅→∅) − elseif chord == 'C-=' then
+ elseif chord == dm('=') then
replacement in source_edit.lua at line 443
[8.160516]→[8.160516:160545](∅→∅) − elseif chord == 'C--' then
+ elseif chord == dm('-') then
replacement in source_edit.lua at line 448
[3.142]→[8.160630:160659](∅→∅),
[8.160630]→[8.160630:160659](∅→∅) − elseif chord == 'C-0' then
+ elseif chord == dm('0') then
replacement in source_edit.lua at line 452
[8.160737]→[8.160737:160766](∅→∅) − elseif chord == 'C-z' then
+ elseif chord == dm('z') then
replacement in source_edit.lua at line 465
[8.161311]→[8.161311:161340](∅→∅) − elseif chord == 'C-y' then
+ elseif chord == dm('y') then
replacement in source_edit.lua at line 479
[8.161829]→[8.165:194](∅→∅) − elseif chord == 'C-a' then
+ elseif chord == dm('a') then
replacement in source_edit.lua at line 482
[8.331]→[8.161829:161858](∅→∅),
[8.7497]→[8.161829:161858](∅→∅),
[8.161829]→[8.161829:161858](∅→∅) − elseif chord == 'C-c' then
+ elseif chord == dm('c') then
replacement in source_edit.lua at line 487
[8.161946]→[8.161946:161975](∅→∅) − elseif chord == 'C-x' then
+ elseif chord == dm('x') then
replacement in source_edit.lua at line 493
[8.162224]→[8.162224:162253](∅→∅) − elseif chord == 'C-v' then
+ elseif chord == dm('v') then
replacement in source.lua at line 144
[8.169798]→[4.13:70](∅→∅) − local os = love.system.getOS()
− if os == 'Linux' then
replacement in run.lua at line 71
− local os = love.system.getOS()
− if os == 'Linux' then
edit in main.lua at line 83
+
+ OS = love.system.getOS()
edit in keychord.lua at line 37
+ -- use idiomatic cmd key on Mac OS, ctrl elsewhere
+ function App.default_modifier(key)
+ if OS == 'OS X' then
+ return 's-'..key
+ else
+ return 'C-'..key
+ end
+ end
+
edit in keychord.lua at line 66
+ function App.default_modifier_down()
+ if OS == 'OS X' then
+ return App.cmd_down()
+ else
+ return App.ctrl_down()
+ end
+ end
+
edit in edit.lua at line 392
+ local dm = App.default_modifier
replacement in edit.lua at line 398
− chord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and chord ~= 'delete' and chord ~= 'C-z' and chord ~= 'C-y' and not App.is_cursor_movement(key) then
+ chord ~= dm('a') and chord ~= dm('c') and chord ~= dm('x') and chord ~= 'backspace' and chord ~= 'delete' and chord ~= dm('z') and chord ~= dm('y') and not App.is_cursor_movement(key) then
replacement in edit.lua at line 427
[8.11758]→[8.11758:11787](∅→∅) − elseif chord == 'C-f' then
+ elseif chord == dm('f') then
replacement in edit.lua at line 434
[2.25]→[8.11962:11991](∅→∅),
[8.7755]→[8.11962:11991](∅→∅),
[8.103883]→[8.11962:11991](∅→∅),
[8.11962]→[8.11962:11991](∅→∅) − elseif chord == 'C-=' then
+ elseif chord == dm('=') then
replacement in edit.lua at line 437
[8.6814]→[8.12057:12086](∅→∅),
[8.12057]→[8.12057:12086](∅→∅) − elseif chord == 'C--' then
+ elseif chord == dm('-') then
replacement in edit.lua at line 442
[3.289]→[8.12152:12181](∅→∅),
[8.6842]→[8.12152:12181](∅→∅),
[8.12152]→[8.12152:12181](∅→∅) − elseif chord == 'C-0' then
+ elseif chord == dm('0') then
replacement in edit.lua at line 446
[2.36]→[8.12236:12265](∅→∅),
[8.6870]→[8.12236:12265](∅→∅),
[8.12236]→[8.12236:12265](∅→∅) − elseif chord == 'C-z' then
+ elseif chord == dm('z') then
replacement in edit.lua at line 459
[8.12717]→[8.12717:12746](∅→∅) − elseif chord == 'C-y' then
+ elseif chord == dm('y') then
replacement in edit.lua at line 473
[8.13212]→[8.501:530](∅→∅) − elseif chord == 'C-a' then
+ elseif chord == dm('a') then
replacement in edit.lua at line 476
[8.657]→[8.13212:13241](∅→∅),
[8.13212]→[8.13212:13241](∅→∅) − elseif chord == 'C-c' then
+ elseif chord == dm('c') then
replacement in edit.lua at line 481
[8.13403]→[8.13403:13432](∅→∅) − elseif chord == 'C-x' then
+ elseif chord == dm('x') then
replacement in edit.lua at line 487
[8.551]→[8.13660:13689](∅→∅),
[8.13660]→[8.13660:13689](∅→∅) − elseif chord == 'C-v' then
+ elseif chord == dm('v') then