This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Settings for Keymaps
Zhuochun edited this page Jul 10, 2015
·
9 revisions
Since version v1.5.0, Markdown Writer has removed all default keymaps existed in previous versions. It gives users more control over the keymaps.
To add the original default keymaps, just run command Markdown Writer: Create Default Keymaps
(cmd + shift + p
).
It will open your keymap configuration file and append the list of Markdown Writer keymaps in it. You can modify the keymaps as needed.
Alternatively, you can manually edit in your keymap configuration file (Atom
-> Open Your Keymap
). These are the default set of keymaps provided (OSX):
".platform-darwin atom-text-editor[data-grammar~='gfm']":
"shift-cmd-K": "markdown-writer:insert-link"
"shift-cmd-I": "markdown-writer:insert-image"
"cmd-i": "markdown-writer:toggle-italic-text"
"cmd-b": "markdown-writer:toggle-bold-text"
"cmd-'": "markdown-writer:toggle-code-text"
"cmd-k": "markdown-writer:toggle-keystroke-text"
"cmd-h": "markdown-writer:toggle-strikethrough-text"
"ctrl-alt-1": "markdown-writer:toggle-h1"
"ctrl-alt-2": "markdown-writer:toggle-h2"
"ctrl-alt-3": "markdown-writer:toggle-h3"
"ctrl-alt-4": "markdown-writer:toggle-h4"
"ctrl-alt-5": "markdown-writer:toggle-h5"
"shift-cmd-O": "markdown-writer:toggle-ol"
"shift-cmd-U": "markdown-writer:toggle-ul"
"shift-cmd->": "markdown-writer:toggle-blockquote"
'shift-cmd-"': "markdown-writer:toggle-codeblock-text"
"cmd-j cmd-p": "markdown-writer:jump-to-previous-heading"
"cmd-j cmd-n": "markdown-writer:jump-to-next-heading"
"cmd-j cmd-d": "markdown-writer:jump-between-reference-definition"
"cmd-j cmd-t": "markdown-writer:jump-to-next-table-cell"
Markdown Writer provides more commands, refer to these activation commands that you can map.
Happy writing ✏️