Skip to content

Prose config#3

Open
charlescochran wants to merge 2 commits into
mainfrom
prose-config
Open

Prose config#3
charlescochran wants to merge 2 commits into
mainfrom
prose-config

Conversation

@charlescochran

Copy link
Copy Markdown
Collaborator

This has been sitting around for a while, but I've been using it and finding it helpful. It provides some nice features when editing markdown files (such as commit messages or READMEs). The most notable one is word-processor-esque auto-wrap (which can feel annoying when you want to have a single newline, but remember that this newline will be removed by markdown renderers anyway!). It also does markdown concealing, which I like (and you can decide if you like).

Previously, *italicized markdown* wasn't getting rendered as italics
(although **bolded markdown** was being rendered properly). Fix this by
explicitly making onedark italicize the `markdownItalic` highlight
group.
Prose mode, enabled by default for markdown files, can be enabled with
`:Prose` and disabled with `:ProseOff`.
- Enables automatic hardwrap formatting of current paragraph. This is
  preferrable to softwrap, since it ensures that the files will be
  readable in any format.
- It also uses insert-mode remaps to set undo markers at punctuations,
  which is helpful when writing a lot in a single insert.
- It conceals markdown tags by default (which can be disabled with `:set
  conceallevel=0`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant