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?

    • theshatterstone54
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      edit-2
      24 days ago

      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. It’s my favourite way of editing markdown but I’ve never found another editor that does markdown like that. Everything else has text and rendered markdown side by side as separate panes, which I personally hate.

      Edit: I stand corrected. Neovim has it too: https://github.com/MeanderingProgrammer/render-markdown.nvim

        • NaN@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          24 days ago

          Marktext is another. Pretty lightweight and more permissive license than Obsidian.

      • rien333@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        24 days ago

        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?

        • theshatterstone54
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          23 days ago

          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.

        • rien333@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          23 days ago

          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?)

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    16
    ·
    24 days ago

    Why do you want stop using Vim in the first place? That would be a good information to have, to give help. What dedicated tools do you mean? What do they offer that you miss in Vim? If you just hate Vim and want stop using it no matter what, the only solution is to uninstall it, to not fall into those habits of using it everywhere. Over time you should get used to those other editors and tools.

  • GolfNovemberUniform@lemmy.ml
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    edit-2
    24 days ago

    Switch to GUI editors with Word-like navigation. You will struggle but eventually your vim habits will fade away and then you will be able to use any editor with slightly various levels of performance.

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    24 days ago

    The trick is do the opposite, namely bring vim everywhere, e.g using Tridactyl you can bring some behaviors to the browser and, in this very textarea from lemmy, if I press Ctrl+i I get gvim, when I exit it, the content is back in the textarea and I can reply. Vim everywhere.

  • Monument@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    10
    ·
    23 days ago

    Build a small EMP device. Figure out how to trigger it from terminal. Delete the key bindings for vim. Map them to the trigger you have for the EMP.

    … good luck…?

  • UNY0N@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    23 days ago

    How about obsidian.md? It’s based on markdown, so edit mode has lots of keybindings, and there are all sorts of javascript plugins to add functionality.

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    23 days ago

    Do you just need to write markdown? Plenty of text editors have a vim mode. Not sure if there’s any lightweight ones that do the markdown preview alongside a vim mode; I know IntelliJ-based IDEs have a vim mode and can preview markdown, but that’s not exactly a lightweight solution, and only the community edition is open source.

    But also what exactly is it you’re looking for that Vim can’t do? I use Vim for writing pretty much everything. I use Vim for markdown and it works fine. Markdown is already pretty readable as a text file so I don’t feel the need for a previewer or anything like a rich text editor (but also there are plenty of markdown editors out there if you just want to edit markdown in a RTE).