As explained in KEYBINDINGS.md I have created a keybindings.json file and placed it inside of my marktext-user-data which is on a usb. I use portable Mark Text at work from this usb.
marktext-user-data as instructed in PORTABLE.md.marktext-user-data create a keybindings.json like this.{
"fileNewTab": "CmdOrCtrl+T",
"viewToggleSideBar": "CmdOrCtrl+Shift+R"
}
Expected behavior:
Shortcuts specified in keybindings.json should override keyboard shortcuts in Mark Text.
Actual behavior:
No change to the keyboard shortcuts.
Thank you for taking the time to report this issue! There is an issue with the portable mode that the directory cannot be detected if the current working directory don't match the application directory.
@fxha Tested this morning with v0.15.1 The keybindings still don't respect the keybindings .json :cry:
My keybindings.json is as follows
{
"fileNewTab": "Ctrl+T",
"viewToggleSideBar": "Ctrl+Shift+R"
}
and it's stored in marktext-user-data. Am I doing something wrong?
@yougotwill There was another issue that is fixed now. You need to unset the default shortcut until the next release. This configuration should work for now:
{
"fileNewTab": "Ctrl+T",
"paragraphTable": "",
"viewToggleSideBar": "Ctrl+Shift+R",
"formatClearFormat": "",
"viewDevReload": ""
}
You can verify this by launching Mark Text via command line:
$ marktext
Invalid keybindings.json configuration: Duplicate key viewToggleSideBar - formatClearFormat
Most helpful comment
@yougotwill There was another issue that is fixed now. You need to unset the default shortcut until the next release. This configuration should work for now:
You can verify this by launching Mark Text via command line: