How to quit VIM?

lemmur@szmer.info to Linux@lemmy.ml – 166 points –

First of all. This is not another "how do I exit vim?" shitpost.

I've been using (neo)vim for about two years and I started to notice, that I,m basically unable to use non-vim editors. I do not code a lot, but I write a lot of markown. I'd like to use dedicated tools for this, but their vim emulators are so bad. So I'm now stuck with my customized neovim, devoid of any hope of abandoning this strange addiction.

Any help or advice?

71

You are viewing a single comment

No joke, Emacs has the ability to render in line markdown, essentially the current line is just text, while the rest of the doc is rendered as markdown titles, links, lists, etc.

This sounds amazing. I've been using markdown-mode for ages now though, and I've never come across this feature.

How do you enable this?

I have it in my config, will link to a specific commit in case anything changes. Look for the heading called MARKDOWN and I'd recommend grabbing all 3 subsections (MARKDOWN, Markdown Headings, Markdown Concealing). The main part is the last one iirc. Link: https://gitlab.com/theshatterstone/dotfiles/-/blob/6f00007eac475946e11fa3278ffbf526400b7e10/.config/emacs/config.org

Edit: Links from the Table of Contents don't work in Gitlab, unfortunately, so you'll have to scroll to it yourself.

Some people over at reddit seem to suggest that the functionally you speak of doesn't exist, except in the form of a proof of concept snippet over at SO.

EDIT: Said snippet would probably be sufficient, if it handled codeblocks correctly (stuff in between ```). At the moment, it handles them miserably (maybe because they are multineline elements?)