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@feddit.uk
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 months 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

      • rien333@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        2 months 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?

  • Monument@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months 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…?

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    2 months 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).

  • UNY0N@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 months 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.

      • UNY0N@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 months ago

        Haha, I wouldn’t expect anything less. But I don’t need to install the plugin…well…maybe I’ll just try it out for a few…danmit.

  • Kerb@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 months ago

    i just use vim plugins in the other editors i use.

    kate has a vim mode,
    vs code has a vim plugin.
    intellij has a vim plugin.
    obsidian has a vim mode.
    a lot of editors have vim modes.

    if you have a current non vim markdown editor,
    try looking for a vim mode.

    if you dont, obsidian is all about markdown,
    and vs code has a markdown preview plugin.

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 months 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.

  • space_comrade [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 months ago

    Just switch to VSCode or something similar, it has enough features and shortcuts that will quickly make you like at least 80% as productive as you were in Vim. It even has a Vim mode so you can wean yourself off of it more easily.

    Honestly never got the appeal of Vim, you need to spend so much time learning and configuring it only to squeeze out a little bit of extra productivity out of it when compared to a “normal” editor/IDE. I don’t see why it’s so important to be able to edit and write code as quickly as possible since most of the time you’re going to be debugging or looking at the code or reading docs.

    EDIT: Just noticed you said you don’t code a lot. I think most of what I said still applies, I imagine you don’t spend 99% of the time in the editor typing away.

    • ma1w4re@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      To your “never got the appeal”.

      Ngl for me using vim is the only option. If something needs to be done using a mouse, it’s just not going to be done. I can’t aim properly due to problems with my arms, and it itches something in my brain everytime I try, it makes me literally furious and enraged.

      I tried using zed, but quickly found out that I can only control the text field with motions, nothing else.

      If I try using mouse, speed of anything I do gets multiplied by 0.1.

      Thanks to vim, I’m able to work with loads of text at all.

      Simple as that.

    • roux [he/him, they/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      I used to use Sublime for notes and then VSCode and those types of text editors work just fine for non code stuff imo. VSCode even has syntax highlighting for Markdown so could be a plus for OP.

      • space_comrade [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        Eh I’ve seen colleagues that use Vim heavily do their work and they’re like at best 10-20% faster than me when it comes to pure text input/editing, honestly not worth the effort to switch to Vim for me.