markdown: Update key bindings for Markdown Mode 2.3
Update key bindings to reflect some changes in Markdown Mode 2.3: * markdown-exdent-region was renamed to markdown-outdent-region. * markdown-insert-reference-image (SPC m i I) was folded into markdown-insert-image (SPC m i i). * markdown-insert-inline-link-dwim (SPC m i l) and markdown-insert-reference-link-dwim (SPC m i L) were replaced by markdown-insert-link (SPC m i l). * markdown-toggle-markup-hiding (SPC m t m) was added. * markdown-jump (SPC m RET) was replaced by markdown-do (same). Note that the documentation listed an incorrect key binding for markdown-jump; this has been corrected. * layers/+lang/markdown/packages.el (markdown/init-markdown-mode): * layers/+lang/markdown/README.org: Update key bindings.
This commit is contained in:
parent
8bb1cee649
commit
ef6e45f30e
|
@ -103,13 +103,11 @@ To generate a table of contents type on top of the buffer:
|
|||
| ~SPC m h 6~ | insert header atx 6 |
|
||||
| ~SPC m h !~ | insert header setext 1 |
|
||||
| ~SPC m h @~ | insert header setext 2 |
|
||||
| ~SPC m i l~ | insert inline link dwim |
|
||||
| ~SPC m i L~ | insert reference link dwim |
|
||||
| ~SPC m i l~ | insert link |
|
||||
| ~SPC m i u~ | insert uri |
|
||||
| ~SPC m i f~ | insert footnote |
|
||||
| ~SPC m i w~ | insert wiki link |
|
||||
| ~SPC m i i~ | insert image |
|
||||
| ~SPC m i I~ | insert reference image |
|
||||
| ~SPC m i t~ | insert Table of Contents (toc) |
|
||||
| ~SPC m x b~ | make region bold or insert bold |
|
||||
| ~SPC m x i~ | make region italic or insert italic |
|
||||
|
@ -137,14 +135,14 @@ To generate a table of contents type on top of the buffer:
|
|||
| Key Binding | Description |
|
||||
|-------------+-----------------------|
|
||||
| ~SPC m o~ | follow thing at point |
|
||||
| ~SPC m j~ | jump |
|
||||
| ~RET~ | jump (markdown-do) |
|
||||
|
||||
** Indentation
|
||||
|
||||
| Key Binding | Description |
|
||||
|-------------+---------------|
|
||||
|-------------+----------------|
|
||||
| ~SPC m \>~ | indent region |
|
||||
| ~SPC m \<~ | exdent region |
|
||||
| ~SPC m \<~ | outdent region |
|
||||
|
||||
** Header navigation
|
||||
|
||||
|
@ -201,5 +199,6 @@ To generate a table of contents type on top of the buffer:
|
|||
|-------------+----------------------|
|
||||
| ~SPC m t i~ | toggle inline images |
|
||||
| ~SPC m t l~ | toggle hidden urls |
|
||||
| ~SPC m t m~ | toggle markup hiding |
|
||||
| ~SPC m t t~ | toggle checkbox |
|
||||
| ~SPC m t w~ | toggle wiki links |
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
"]" 'markdown-complete
|
||||
;; Indentation
|
||||
">" 'markdown-indent-region
|
||||
"<" 'markdown-exdent-region
|
||||
"<" 'markdown-outdent-region
|
||||
;; Buffer-wide commands
|
||||
"c]" 'markdown-complete-buffer
|
||||
"cc" 'markdown-check-refs
|
||||
|
@ -104,9 +104,7 @@
|
|||
"if" 'markdown-insert-footnote
|
||||
"ii" 'markdown-insert-image
|
||||
"ik" 'spacemacs/insert-keybinding-markdown
|
||||
"iI" 'markdown-insert-reference-image
|
||||
"il" 'markdown-insert-inline-link-dwim
|
||||
"iL" 'markdown-insert-reference-link-dwim
|
||||
"il" 'markdown-insert-link
|
||||
"iw" 'markdown-insert-wiki-link
|
||||
"iu" 'markdown-insert-uri
|
||||
;; Element removal
|
||||
|
@ -115,6 +113,7 @@
|
|||
"li" 'markdown-insert-list-item
|
||||
;; Toggles
|
||||
"ti" 'markdown-toggle-inline-images
|
||||
"tm" 'markdown-toggle-markup-hiding
|
||||
"tl" 'markdown-toggle-url-hiding
|
||||
"tt" 'markdown-toggle-gfm-checkbox
|
||||
"tw" 'markdown-toggle-wiki-links
|
||||
|
@ -131,7 +130,7 @@
|
|||
"N" 'markdown-next-link
|
||||
"f" 'markdown-follow-thing-at-point
|
||||
"P" 'markdown-previous-link
|
||||
"<RET>" 'markdown-jump)
|
||||
"<RET>" 'markdown-do)
|
||||
(when (eq 'eww markdown-live-preview-engine)
|
||||
(spacemacs/set-leader-keys-for-major-mode mode
|
||||
"cP" 'markdown-live-preview-mode)))
|
||||
|
|
Loading…
Reference in a new issue