Live data from Hacker News

Vim 9.2

vim.org

71–80 of 203 posts

Re: Vim 9.2

#71
post #66
post #52

Earlier quoted context omitted.

well the library ecosystem, developer tooling, and gradual typing support for lua is far ahead of what’s available for vimscript. in my experience lua is #2 behind javascript/typescript’s #1 when it comes to scripting language LSP stuff. both python and ruby suffer from a profusion of alternative type checkers and whatnot that cause pain and fragmentation when it comes to tooling. it’s pretty great to have my vimconf…

Oh man imagine if NeoVim had been TypeScript. I would've switched then.

well the lua setup has enough type checker going on that’s it’s really useful, besides language familiarity i honestly don’t miss much; there’s great docs and autocomplete for the lua stuff built in to the lazynvim distro.

Re: Vim 9.2

#72
As a die-hard vim fan, I feel bitter-sour saying that I switched to nvim. Honestly, I think the vim maintainers should find a way to merge in nvim.

Re: Vim 9.2

#73
i have been using vim since v4 (1999?), but in the last year+ - maybe since v9? - there's some weird defect happening only once in a while:

While walking around a file with keyboard, sometimes a random line's indent is removed - that is, text goes left-flushed. AND it's not a tracked change that can be UNDOne - as if it never happened / always has-been-so. Have not been able to correlate this to any other thing. It happens like once a few days, very rarely it might happen twice within minutes. Sometimes i notice that, sometimes i don't and (luckily) python screams of broken indentation. If the file isn't deeply nested python.. good luck.

Has anyone "achieved" such a thing?

Re: Vim 9.2

#74

But where are the AI features?? Gonna get left behind! Only joking of course, actually quite refreshing to see a new version announcement of something this major without any AI nonsense.

I agree and I know what you're saying, but I'm pretty curious: how are people using AI with vim? I've seen some scripts for ollama but what are most people doing?

At least for Neovim, there are many official or community-made AI autocomplete plugins, and a bunch of chat interfaces as well

Re: Vim 9.2

#75
post #63
post #55

Earlier quoted context omitted.

This. With so much of my work being done with Claude Code via terminal, I’ve used vim and tmux more than I have in the 20 years since I was first introduced.

How many people don’t know tmux in the industry is really beyond me.

What's the elevator pitch if I already know Screen and I can just open multiple windows of the terminal emulator?

Re: Vim 9.2

#76

I am a lay user or vim. I use it daily for editing text files and a bit of code, but I always found the plugins and the scripting language rather daunting. There are different, conflicting, plugin management systems; and of course there's the scripting language that's vim-specific, and the few times I tried to delve into this stuff, I quickly found myself in over my head. So - on the occasion of VIm 9.2 coming out -…

do you really need that?

the scripting language is.. okay, but u have to try doing something practical in it, to get a feeling.

see my vimrc, being updating it since ~2000

https://github.com/svilendobrev/svd_bin/blob/master/qini/_vi...

Re: Vim 9.2

#77

But where are the AI features?? Gonna get left behind! Only joking of course, actually quite refreshing to see a new version announcement of something this major without any AI nonsense.

I agree and I know what you're saying, but I'm pretty curious: how are people using AI with vim? I've seen some scripts for ollama but what are most people doing?

Avante.nvim is quite active

Re: Vim 9.2

#78

But where are the AI features?? Gonna get left behind! Only joking of course, actually quite refreshing to see a new version announcement of something this major without any AI nonsense.

AISREIR

AI Should Rewrite Everything In Rust

Re: Vim 9.2

#79

I'm glad to see that Vim9 continues to make progress. The center of gravity may have shifted somewhat towards Neovim, but the Neovim ecosystem currently seems targeted towards people who want something more IDE-like. One question is: will more plugin authors move to Vim9Script? It seems that Neovim users have generally moved towards Lua-based plugins, so there's less of a motivation to produce plugins that support bo…

I love vim9script and write most of my plugins in it now unless I want something to work in the other vim as well, of course. Really happy to see it evolving and I'm particularly happy that tuple support has landed!

Re: Vim 9.2

#80

I am a lay user or vim. I use it daily for editing text files and a bit of code, but I always found the plugins and the scripting language rather daunting. There are different, conflicting, plugin management systems; and of course there's the scripting language that's vim-specific, and the few times I tried to delve into this stuff, I quickly found myself in over my head. So - on the occasion of VIm 9.2 coming out -…

There are the Practical Vim[0] and Modern Vim[1] by D. Neil

And the VimL Primer[2] by B. Klein

But Vim is a whole culture that starts with ed(1), the standard editor. You do edit based on line numbers and regex addressing and commands. Then there was ex(1) that added more features. vi(1) added a `visual` mode to ex(1), and some commands can now be done in relation to the position of the cursor. Vim is the improved version of vi(1), a lot more commands and a scripting language.

The plugin system is similar to everything that was unix at that time, relying on a variable like $PATH. Any path added to that variable (runtimepath for vim), should follow some patterns for subdirectories and the file will be loaded according to a certain logic. Plugin managers actually manage that variable and do a few things aside (isolating plugins, downloading from forges,...)

[0]: https://pragprog.com/titles/dnvim2/practical-vim-second-edit...

[1]: https://pragprog.com/titles/modvim/modern-vim/

[2]: https://www.oreilly.com/library/view/the-viml-primer/9781680...

Post reply on HN