-
-
Notifications
You must be signed in to change notification settings - Fork 46
Settings for Keymaps
Since version v1.5.0
, Markdown Writer has removed the default keymaps existed in previous versions.
To bring back the keymaps, use command
Markdown Writer: Create Default Keymaps
.
Too troublesome to remember all the keymaps? Try tool-bar-markdown-writer.
To add the original default keymaps, run command (cmd + shift + p
), enter Markdown Writer: Create Default Keymaps
.
It will open your keymap configuration file and append the list of default 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:not([mini])":
"shift-cmd-K": "markdown-writer:insert-link"
"shift-cmd-I": "markdown-writer:insert-image"
"cmd-v": "markdown-writer:insert-image-clipboard"
"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-to-reference-definition"
"cmd-j cmd-t": "markdown-writer:jump-to-next-table-cell"
If you are a vim-mode-plus user, here are some keymaps I used:
"atom-text-editor.vim-mode-plus.normal-mode[data-grammar='text md']":
"g x": "markdown-writer:open-link-in-browser"
"g k": "markdown-writer:jump-to-reference-definition"
"[ h": "markdown-writer:jump-to-previous-heading"
"] h": "markdown-writer:jump-to-next-heading"
", o": "markdown-writer:toggle-ol"
", u": "markdown-writer:toggle-ul"
", t": "markdown-writer:toggle-task"
", T": "markdown-writer:toggle-taskdone"
"z a": "markdown-writer:fold-headings"
"z O": "markdown-writer:focus-current-heading"
"z l": "markdown-writer:fold-links"
"enter": "markdown-writer:insert-new-line"
"atom-text-editor.vim-mode-plus.insert-mode[data-grammar='text md']":
"| t": "markdown-writer:insert-table"
"| |": "markdown-writer:jump-to-next-table-cell"
"atom-text-editor.vim-mode-plus.visual-mode[data-grammar='text md']":
"_": "markdown-writer:toggle-italic-text"
"8": "markdown-writer:toggle-bold-text"
"`": "markdown-writer:toggle-code-text"
", o": "markdown-writer:toggle-ol"
", u": "markdown-writer:toggle-ul"
", t": "markdown-writer:toggle-task"
", T": "markdown-writer:toggle-taskdone"
Markdown Writer provides a lot more commands, refer to the list of all available activation commands.
Happy writing ✏️