Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jmalarcon/0151f0920e064b1588c036463d7b4b40 to your computer and use it in GitHub Desktop.
Save jmalarcon/0151f0920e064b1588c036463d7b4b40 to your computer and use it in GitHub Desktop.
MarkText keyboard configuration file to replicate Typora's

MarkText keyboard configuration file to replicate Typora's

Ive been using Typora as a paid user since the first time they started to charge for it. It simply was the best Markdown editor out there. That was before MarkText was available.

Now I'm using MarkText ore frequently, but I'm used to the shortcuts/Key Bindings in Typora. Since there are a lot of them and I've migrated them all in the MarkText configuration, I've decided to share them with you, in case you find it useful.

You can find the keybindings.json files here, in this Gist.

Close Marktext, download the JSON file and copy it to your MarkText application directory.

That's it!

Now you have the exact same shotcuts you had in Typora, right on MarkText.

Importante notes

  • Since Typora doesn't have tabs, and the normal shortcut for creating new tabs it's the same key for creating new tables in Typora (CTRL+T), I left it untouched: The shortcut for creating new tables it's still the default one: CTRL+SHIFT+T.
  • Since in Typora CTRL+1, etc.. are used to change between header styles, I've changed the MarkText shortcuts for going directly to a specific tab to: CTRL+ALT+1 all up to CTRL+ALT+0, to switch to tab number: 1, 2..., 10 (CTRL+ALT+0 switches to tab #10).
  • There are no shortcuts in MarkText for:
    • Manipulating table rows (add new ones, move them around...)
    • Show Articles
    • Show File Tree
    • Zoom: Actual size
  • I've added a couple of extra shortcuts on my own:
    • Copy as HTML Code: CTRL+ALT+H
    • Duplicate current line: CTRL+D

Hope this helps!

{
"edit.copy-as-html": "ctrl+alt+h",
"edit.create-paragraph": "ctrl+0",
"edit.delete-paragraph": "",
"edit.duplicate": "ctrl+d",
"edit.redo": "ctrl+y",
"file.print": "alt+shift+P",
"format.highlight": "",
"format.hyperlink": "ctrl+k",
"format.inline-code": "ctrl+shift+`",
"format.strike": "alt+shift+5",
"tabs.switch-to-tenth": "ctrl+alt+0",
"tabs.switch-to-first": "ctrl+alt+1",
"tabs.switch-to-second": "ctrl+alt+2",
"tabs.switch-to-third": "ctrl+alt+3",
"tabs.switch-to-fourth": "ctrl+alt+4",
"tabs.switch-to-fifth": "ctrl+alt+5",
"tabs.switch-to-sixth": "ctrl+alt+6",
"tabs.switch-to-seventh": "ctrl+alt+7",
"tabs.switch-to-eighth": "ctrl+alt+8",
"tabs.switch-to-ninth": "ctrl+alt+9",
"paragraph.degrade-heading": "ctrl+-",
"paragraph.heading-1": "ctrl+1",
"paragraph.heading-2": "ctrl+2",
"paragraph.heading-3": "ctrl+3",
"paragraph.heading-4": "ctrl+4",
"paragraph.heading-5": "ctrl+5",
"paragraph.heading-6": "ctrl+6",
"paragraph.html-block": "",
"paragraph.order-list": "ctrl+shift+'",
"paragraph.task-list": "ctrl+shift+X",
"view.focus-mode": "f8",
"view.toggle-dev-tools": "shift+f12",
"view.toggle-sidebar": "ctrl+shift+L",
"view.toggle-toc": "ctrl+shift+1",
"view.typewriter-mode": "f9",
"window.zoom-in": "ctrl+shift+plus",
"window.zoom-out": "ctrl+shift+-"
}
@nans207
Copy link

nans207 commented Jun 20, 2024

Thank you for sharing your work with the keyboard shortcut map.
I don't know why you believe Typora isn't on linux though. Typora does support linux: https://support.typora.io/Typora-on-Linux/

@jmalarcon
Copy link
Author

jmalarcon commented Jun 20, 2024

Oh! I surely blundered with this. I was convinced it didn't have a Linux version; I don't know why 😖
Anyway, I'm enjoying MarkText a lot and I'm used to the Typora shortcuts, so anyway it can be useful.

Thanks for letting me know. I'll update the readme!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment