That's why I said that the example wasn't the best one
For Git, I'm usually using SourceTree and command line.
Below, I've added a slightly better example, which introduces a single shortcut and the export of this trigger took 45 lines in the bttpreset file:
diff --git a/bettertouchtool/Default.bttpreset b/bettertouchtool/Default.bttpreset
index 5df1a87..cf14e5e 100644
--- a/bettertouchtool/Default.bttpreset
+++ b/bettertouchtool/Default.bttpreset
@@ -183,7 +183,7 @@
"BSTSnapAreaDefaultShowPictogram" : false,
"BSTSnapAreaDefaultPictoDistanceFromBottom" : 0.10000000149011612
},
- "BTTPresetUUID" : "059F143E-19C5-4831-BB85-22212D782B8F",
+ "BTTPresetUUID" : "187E568B-8CBC-43BB-AE93-EEBFB357180D",
"BTTPresetContent" : [
{
"BTTAppBundleIdentifier" : "com.apple.iCal",
@@ -4141,7 +4141,7 @@
"BTTTriggers" : [
{
"BTTActionCategory" : 0,
- "BTTLastUpdatedAt" : 1730825752.798893,
+ "BTTLastUpdatedAt" : 1730825858.5458369,
"BTTTriggerType" : 0,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "C1CE4E4E-985E-44A7-9132-CDF235FBAE16",
@@ -4155,7 +4155,7 @@
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : 123,
"BTTShortcutModifierKeys" : 8388608,
- "BTTOrder" : 1,
+ "BTTOrder" : 0,
"BTTAutoAdaptToKeyboardLayout" : 0,
"BTTAdditionalActions" : [
{
@@ -4189,7 +4189,7 @@
},
{
"BTTActionCategory" : 0,
- "BTTLastUpdatedAt" : 1730825272.6183629,
+ "BTTLastUpdatedAt" : 1730825858.545753,
"BTTTriggerType" : 0,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "BDF3544B-6CC1-4307-8017-AB0FC905D956",
@@ -4234,6 +4234,43 @@
}
],
"BTTGestureNotes" : "Next Product Image"
+ },
+ {
+ "BTTActionCategory" : 0,
+ "BTTLastUpdatedAt" : 1730825861.828887,
+ "BTTTriggerType" : 0,
+ "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
+ "BTTUUID" : "46A140D1-3932-4A94-B497-DB98A8252D60",
+ "BTTPredefinedActionType" : 366,
+ "BTTPredefinedActionName" : "Empty Placeholder",
+ "BTTAdditionalConfiguration" : "8388608",
+ "BTTKeyboardShortcutKeyboardType" : 0,
+ "BTTTriggerOnDown" : 1,
+ "BTTLayoutIndependentChar" : "UP",
+ "BTTEnabled" : 1,
+ "BTTEnabled2" : 1,
+ "BTTShortcutKeyCode" : 126,
+ "BTTShortcutModifierKeys" : 8388608,
+ "BTTOrder" : 1,
+ "BTTAutoAdaptToKeyboardLayout" : 0,
+ "BTTAdditionalActions" : [
+ {
+ "BTTActionCategory" : 0,
+ "BTTLastUpdatedAt" : 1730825864.603333,
+ "BTTTriggerParentUUID" : "46A140D1-3932-4A94-B497-DB98A8252D60",
+ "BTTIsPureAction" : true,
+ "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
+ "BTTUUID" : "79C835A3-3A6B-4A4D-91B6-AFC070079ECD",
+ "BTTLayoutIndependentActionChar" : "m",
+ "BTTShortcutToSend" : "56,55,46",
+ "BTTKeyboardShortcutKeyboardType" : 0,
+ "BTTEnabled" : 1,
+ "BTTEnabled2" : 1,
+ "BTTShortcutKeyCode" : -1,
+ "BTTOrder" : 3,
+ "BTTAutoAdaptToKeyboardLayout" : 0
+ }
+ ]
}
]
},