this post was submitted on 30 Jan 2024
1977 points (99.2% liked)

Programmer Humor

32558 readers
598 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 9 months ago

Is the LSP support in nvim better than what you can get with plugins? I'm using coc.nvim with vim and yeah it is really cool.

I didn't know about that :term difference. I think I prefer vim's behavior there.

If you have :set hidden, then the current buffer will be hidden when you open a different file, and you won't be prompted. Without it, vim doesn't allow hidden buffers and will discard the buffer when you open a different file (which is why it prompts you). Vim's defaults are very odd sometimes.

Huh, that cw behavior in vi does seem pretty jarring. Interesting, though. It makes sense why it was like that.