Live data from Hacker News

Vim 9.2

vim.org

51–60 of 203 posts

Re: Vim 9.2

#51

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?

tmux + vim + Claude Code

Re: Vim 9.2

#52
post #18

Earlier quoted context omitted.

But they're separate highly maintained projects, and there will always be tradeoffs. It's like saying that Ubuntu is better than Debian, or that Fedora is better than RockyLinux.

Honestly curious, what are the tradeoffs with vim9 / vimscript?

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 vimconfig give red squiggle in editor if i’m doing it wrong before i save & reload.

but i’ve not followed vim9 script as its evolved perhaps there’s a good type checker for it at this point?

even before neovim, there were vim extensions written in lua so it feels gravity of lua code has been considerable for a long time.

to me vim9script feels like perl5/raku split - evolution too late to grow new users, a remnant for a niche that will fade to oblivion slowly over the next 10 years.

Re: Vim 9.2

#53
post #19

Earlier quoted context omitted.

Those people can contribute to Xorg server further development.

The thing that kicked off this thread was hope that vim will continue to support X11. No need for continued X development really.

On the contrary, because you will want to have those drivers when the time comes to reinstall the system with more modern hardware.

Without X Server support at the OS level for the new hardware, doesn't really matter if vim supports it on its source code.

Re: Vim 9.2

#54

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 made a vim extension where you describe the edit/action you want in natural language, and my ollama model thats trained on books like Practical Vim returns the key sequence and you can press e to execute without leaving vim. So you get automation help but also learn the syntax.

That's pretty nifty. Link please

Re: Vim 9.2

#55
post #51

Earlier quoted context omitted.

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?

tmux + vim + Claude Code

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.

Re: Vim 9.2

#56

Earlier quoted context omitted.

Lua, especially with LuaJIT, is nearly as fast as C. I certainly don't want to have to run a slow language like Ruby or especially a full blown JS runtime like V8 just to run Vim, the entire point is speed and keyboard ergonomics, otherwise just use VSCode.

Babashka! Super fast clojure/lisp.

there's always fennel for a lispy layer over lua

Re: Vim 9.2

#57
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 people have a recommendation for a gentle path to "leveling up" one's VIm skills and engagement?

Re: Vim 9.2

#58

Earlier quoted context omitted.

> That said I'd have preferred something other than Lua if I had the choice. Same. I know we as a community would never agree on what that language should be, but in my dreams it would have been ruby. Even javascript would have been better for me than Lua.

Doesn't Vim support extensions written in several languages? Or was that removed in Vim 9?

It still does, but those only work with a Vim built that has those interfaces compiled in.

Re: Vim 9.2

#59

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?

AI makes advanced IDE features less relevant (or, more precisely, much easier to ignore or work without.)

I still have PyCharm, especially for working with data which I do a lot it helps quite a bit, but by default I'm back to a very vanilla Vim setup. Others have mentioned tmux which is great and I'd use anyway especially over ssh, but even just terminal tabs for instances of agents are fine frankly.

Re: Vim 9.2

#60
post #55
post #51

Earlier quoted context omitted.

tmux + vim + Claude Code

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.

same, although I'm using zellij instead of tmux. Copilot works well in vim too.
Post reply on HN