feat(markdown): add toggle keybinds under <localleader> t

Close: #6308
Co-authored-by: iyefrat <iyefrat@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2022-07-23 15:53:09 +02:00
parent 9a3fab9572
commit e7d56f2ce7
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -117,7 +117,16 @@ capture, the end position, and the output buffer.")
:desc "New blockquote" "q" #'markdown-insert-blockquote :desc "New blockquote" "q" #'markdown-insert-blockquote
:desc "Strike through" "s" #'markdown-insert-strike-through :desc "Strike through" "s" #'markdown-insert-strike-through
:desc "Table" "t" #'markdown-insert-table :desc "Table" "t" #'markdown-insert-table
:desc "Wiki link" "w" #'markdown-insert-wiki-link))) :desc "Wiki link" "w" #'markdown-insert-wiki-link)
(:prefix ("t" . "toggle")
:desc "Inline LaTeX" "e" #'markdown-toggle-math
:desc "Code highlights" "f" #'markdown-toggle-fontify-code-blocks-natively
:desc "Inline images" "i" #'markdown-toggle-inline-images
:desc "URL hiding" "l" #'markdown-toggle-url-hiding
:desc "Markup hiding" "m" #'markdown-toggle-markup-hiding
:desc "Wiki links" "w" #'markdown-toggle-wiki-links
:desc "GFM checkbox" "x" #'markdown-toggle-gfm-checkbox)))
(use-package! evil-markdown (use-package! evil-markdown
:when (featurep! :editor evil +everywhere) :when (featurep! :editor evil +everywhere)