this post was submitted on 25 Aug 2024
201 points (95.1% liked)

linuxmemes

21428 readers
715 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
    201
    How to quit VIM? (szmer.info)
    submitted 3 months ago* (last edited 3 months ago) by lemmur@szmer.info to c/linuxmemes@lemmy.world
     

    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?

    you are viewing a single comment's thread
    view the rest of the comments
    [–] MajorHavoc@programming.dev 1 points 2 months ago* (last edited 2 months ago) (1 children)

    Not sarcasm. I'm genuinely satisfied with VSCode's Vim emulation, and you're the first person I have heard say otherwise.

    I just meant - that means you're using features that most of us aren't.

    Fair point about evil mode for Emacs being better, but that requires using Emacs, which I have found un-usable, so far.

    [–] expr@programming.dev 1 points 2 months ago (1 children)

    There's many very basic features of vim that VsVim does not have (like... almost all command line commands), basic features which regular vim users use all the time.

    You seem to think that people using vim emulation is the norm and using vim itself is the exception and unusual... Which is very much not the case. The opposite is true, with VsVim users being a minority. It's relatively novel among vscode users (most just use a mouse and maybe a small handful of built-in shortcuts), whereas vim itself is quite ubiquitous in the Unix world, with many Linux machines even providing it as the default editor. I know many vim and emacs users (including lots that I work with), and maybe 1 VsVim user (honestly not even sure if they do).

    [–] MajorHavoc@programming.dev 1 points 2 months ago* (last edited 2 months ago) (1 children)

    There's many very basic features of vim that VsVim does not have (like... almost all command line commands), basic features which regular vim users use all the time.

    ! is supported:

    https://github.com/VsVim/VsVim/blob/master/Documentation/Supported%20Features.md

    It sounds like you haven't tried VsVim in a long be time, or had an unusually bad experience with it.

    (Edit: My responses to your other points were my old man energy, and not worth anyone's time, so I removed them.)

    [–] expr@programming.dev 1 points 2 months ago

    ! is supported

    Vim's command line, i.e, commands starting with :. The vanishingly few it does support are, again, only the most basic, surface-level commands (and some commands aren't even related to their vim counterparts, like :cwindow, which doesn't open the quick fix list since the extension doesn't support that feature).

    Your experience is out of date.

    The last commit to the supported features doc was 5 years ago, so no, it isn't. Seriously, you can't possibly look at that doc and tell me that encompasses even 20% of vim's features. Where's the quick fix list? The location list? The args list? The change list? The jump list? Buffers? Vim-style window management (including vim's tabs)? Tags? Autocommands (no, what it has does not count)? Ftplugins? ins-completion? The undo tree? Where's :edit, :find, :read [!], and :write !? :cdo, :argdo, :bufdo, :windo?

    Compared to what vim can do, it is absolutely a joke.