this post was submitted on 25 Aug 2024
202 points (95.5% liked)

linuxmemes

20880 readers
7 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
202
How to quit VIM? (szmer.info)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

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 1 points 2 months ago* (last edited 2 months ago) (8 children)

Also, the vim plugin for vscode is kind of a joke compared to what vim can do.

Dang. Hot take! I don't think I've heard anyone else say that.

You clearly actually completed VimTutor.

I have several complaints about the VSVim plugin, but it's easily the most feature complete Vim-like plugin I've ever encountered.

I'm trying to pay you a compliment, but I am doing it poorly.

As a legend among my Vim using peers, I can see how VSVim can be frustrating, to someone who truly leverages Vim.

Your annoyance with VSVim outs you as one of the true power users.

[–] expr 2 points 2 months ago (7 children)

Yeah it sounds like you're trying to mock me but it mostly just comes across as confusing. Maybe it's just sarcasm? Hard to tell.

Anyway, it's pretty well-known in the vim community that VSVim is pretty lackluster vim emulation. There are much better examples of vim emulation out there, such as evil for emacs.

It honestly has nothing to do with being a "power user". It's simply false to claim that vscode has more features than vim (which is what the parent comment was claiming), and this should be evident to anyone with more than the most basic, surface-level understanding of vim (more than vimtutor, basically). Vim is a lot more than HJKL and ciw.

I'm not annoyed with VsVim really since I honestly don't really think about it as it's not all that relevant. I do find it a bit irksome when people make false or misleading claims about vim from a place of ignorance about what it actually is.

It's a strange phenomenon with vim in particular, where many people are exposed to it at their periphery, read some reductive claim about it online, and parrot said claim all over the place as though it were fact. Perhaps the nature of being a tool that most are exposed to but few actually learn.

[–] MajorHavoc 1 points 2 months ago* (last edited 2 months ago) (3 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 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 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 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.

load more comments (1 replies)
load more comments (4 replies)
load more comments (4 replies)