News for hackers. Stuff that matters.
Re:The Future of the Vim Project by fortunateregard on Thursday August 10, 2023 @07:40AM (#37074843)
What is it that prevents the rest of the vim community from adopting neovim? From what I can observe, a great deal already have. But for the folks holding out, what is it that outweighs all that neovim has to offer?
Re:The Future of the Vim Project by suprjami on Thursday August 10, 2023 @07:41AM (#37074850)
cscope support
Re:The Future of the Vim Project by ALoverOfLats on Thursday August 10, 2023 @07:44AM (#37074870)
Can’t speak for everyone but in my day to day most systems I work with already come with vim preinstalled or more convenient to install than neovim. I’d rather just pull my vimrc (If I even have to) and get down to editing quickly.
Re:The Future of the Vim Project by sdfghswe on Thursday August 10, 2023 @07:46AM (#37074895)
From my admittedly somewhat limited experience, neovim felt a bit more sluggish to launch. Not a good sign.
Re:The Future of the Vim Project by petepete on Thursday August 10, 2023 @07:52AM (#37074970)

    nvim --clean --startuptime /tmp/neovim

    003.174  000.001: --- NVIM STARTED ---
vs

    vim --clean --startuptime /tmp/vim

    004.274  000.001: --- VIM STARTED ---
Maybe your config had an impact on it, but config-free they're incredibly close.
Re:The Future of the Vim Project by sdfghswe on Thursday August 10, 2023 @07:54AM (#37074992)
3/4 seconds??? Something's wrong with your system, right?
Re:The Future of the Vim Project by petepete on Thursday August 10, 2023 @07:57AM (#37075020)
They're milliseconds!

I abbreviated the output, if you run the above command and check the file, at the top it says

   times in msec
Re:The Future of the Vim Project by sdfghswe on Thursday August 10, 2023 @08:21AM (#37075272)
Oh that's awesome actually.
Re:The Future of the Vim Project by oblio on Thursday August 10, 2023 @07:49AM (#37074924)
Inertia.

Such base programs basically need to go through the Debian packaging gauntlet if they want to succeed.

What I mean by that is that generally they need to persuade distros to be anointed the "official" tool, i.e. Debian or Fedora would have to select Neovim as the new default text instead of Vim.

Then you need a few years for the changes to trickle down everywhere: Debian -> Ubuntu-> Mint -> ..., Fedora -> RHEL, ... After that distro releases need to be cut and people need to upgrade.

I think a full cycle, where a tool becomes ubiquitous if it gets adopted in the base installs, is probably 10 years. See systemd.

Re:The Future of the Vim Project by trealira on Thursday August 10, 2023 @08:29AM (#37075350)
> What I mean by that is that generally they need to persuade distros to be anointed the "official" tool, i.e. Debian or Fedora would have to select Neovim as the new default text instead of Vim.

You're probably right. However, I think it's more likely that the Linux distros drop Vim entirely and make Nano the default editor than that they replace Vim with Neovim.

The BSDs have nvi as the default editor, IIRC, so they won't need to change anything.

Re:The Future of the Vim Project by layer8 on Thursday August 10, 2023 @09:22AM (#37075824)
Nano already is the default editor (via /etc/alternatives/editor).
Re:The Future of the Vim Project by user3939382 on Thursday August 10, 2023 @08:19AM (#37075251)
> Inertia.

At some point I tried to switch and some setting broke in my config (mouse mode?) I forget what it was. It took me another 3-4 years before I tried again.

Re:The Future of the Vim Project by planede on Thursday August 10, 2023 @08:30AM (#37075359)
In what sense vim is default in Debian?
Re:The Future of the Vim Project by layer8 on Thursday August 10, 2023 @09:22AM (#37075828)
It’s not, Nano is.
Re:The Future of the Vim Project by enriquto on Thursday August 10, 2023 @07:55AM (#37075003)
> what is it that outweighs all that neovim has to offer?

You should ask, and answer, the question in reverse. What does neovim offer me, as a regular vim user? I don't see anything particularly interesting for my usage, so I don't have any reason to change. Also, some features are missing (like gvim-gtk, that I enjoy using to edit LaTeX occasionally).

Furthermore, as of today, plain vim has an aura of venerability due to Bram's legacy that neovim cannot match. So I'll stick with vim.

It would make sense to port back some of the most popular neovim features into vim. It is a good thing to have innovative forks that experiment aggressively with new features.

Re:The Future of the Vim Project by gorjusborg on Thursday August 10, 2023 @08:42AM (#37075458)
> You should ask, and answer, the question in reverse. What does neovim offer me, as a regular vim user?

Well, one of the goals of neovim was to make it easier for new people to contribute.

So, there's an obvious feature you might be overlooking: the project surviving past its creators passing.

Beyond that, async, lua, lsp and treesitter support are other things neovim brings to the table. I don't use vim much anymore, but I know that neovim incorporated them first. If vim did follow on some of those innovations, consider how long it might take for new vim maintainers to get to a point where Bram needed to be to keep up, without his guidance.

I wonder if there is a need for both vim and neovim in the future. Neovim was born out of wanting to do similar things to what the vim maintainers are considering.

Re:The Future of the Vim Project by maleldil on Thursday August 10, 2023 @09:26AM (#37075872)
I know you listed Lua already, but it's important to stress that. Bram _did not_ want Lua as the main scripting language, and created Vim9 Script as a "better VimScript" instead. That's a stark difference in the direction for the project, and it signals to me that Vim is not meant to reintegrate with Neovim. It's no longer a question of Vim catching up with Neovim.

However, this was Bram's vision. We don't know how the new leadership will affect that.

Re:The Future of the Vim Project by gorjusborg on Thursday August 10, 2023 @11:38AM (#37077591)
> Vim9 Script as a "better VimScript" instead. That's a stark difference in the direction for the project

Great point. I wasn't following vim much, so didn't know the context around the language changes.

That does seem like a core philosophical difference. I'm interested to see what the future holds.

Re:The Future of the Vim Project by ossusermivami on Friday August 11, 2023 @03:21AM (#37086025)
it's not quite just a "better vimscript" language it's an incompatible language, if it was just improvement on top of the existing vimscript it would have been fine i think but what people are complaining about is if you are going to break compatibility why not choose an existing language like lua
Re:The Future of the Vim Project by maleldil on Friday August 11, 2023 @04:16AM (#37086313)
Yes, you're right. That's what I meant, but I should've highlighted the incompatibility aspect.
Re:The Future of the Vim Project by gkfasdfasdf on Thursday August 10, 2023 @08:26AM (#37075324)
Neovim's language server integration is a killer feature that got me to switch.
Re:The Future of the Vim Project by linsomniac on Thursday August 10, 2023 @09:51AM (#37076165)
Absolutely! I started using LunarVim packages+configs on top of neovim), looks like a couple of years ago according to my work notes, and the LSP has been a huge improvement in my editing.
Re:The Future of the Vim Project by bradly on Thursday August 10, 2023 @05:47PM (#37082211)
Can you explain the benefit? I'm not familiar with the feature.
Re:The Future of the Vim Project by gkfasdfasdf on Friday August 11, 2023 @12:09AM (#37085018)
Basically neovim can act as a client to a variety of different language servers (https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...) which give neovim IDE capabilities. This can be done in original Vim also but requires external plugins which can be a pain to compile and install. Neovim has it built in.
Re:The Future of the Vim Project by infinitezest on Thursday August 10, 2023 @08:05AM (#37075124)
Maybe not important to some but the ability to use Lua over VimScript is a big win in my opinion. In fact, I use a mix of thr two where necessary.
Re:The Future of the Vim Project by pmoriarty on Thursday August 10, 2023 @08:47AM (#37075487)
How much of the rest of the vim ecosystem is Lua-based, though? As far as I know it's still mostly vimscript.

Vimscript's dominance in vim is one of the things that got me to switch to emacs when I got interested in Lisp and Scheme more than a decade ago.

Sure, even then I could write scripts for vim using Vim's scheme compatibility mode, but I'd probably be one of the only ones doing so. Pretty much everyone else was using vimscript.

In Emacs the whole ecosystem is in eLisp, so I'd feel right at home there, could naturally integrate other eLisp codebases/projects, could easily get help on anything related to working with eLisp in emacs.

If I'd written scheme scripts in vim my work would always be a second-class citizen in the vim ecosystem.

How's the vim ecosystem now? Is vimscript still dominant?

Re:The Future of the Vim Project by kzrdude on Thursday August 10, 2023 @09:31AM (#37075944)
I think the ecosystem is more or less splitting. As a user, not dev, it looks like neovim "distributions" are mostly lua and would be feature complete (with some substituted plugins) even if 100% lua was enforced.
Re:The Future of the Vim Project by ftaghn on Thursday August 10, 2023 @09:13AM (#37075721)
> How's the vim ecosystem now? Is vimscript still dominant?

You can have a full neovim experience with all sorts of modern extensions without using a single line of vimscript. Some people even replace their init (neovim's vimrc) with lua, but I am of the opinion that it is a step too far, as lua isn't particularly adapted to writing configuration files and the result is too verbose to my taste.

Re:The Future of the Vim Project by kzrdude on Thursday August 10, 2023 @09:33AM (#37075960)
I have mainly lua config but just put in some vim files where I put bits and functions that were already written in vimscript.
Re:The Future of the Vim Project by bongobingo1 on Thursday August 10, 2023 @11:47AM (#37077682)
Ah you see, you just wrap that lua in a lisp in some terse macros and there you go, instead of writing `:set formatoptions+=j` (yuck, vimscript!) or `vim.opt.formatoptions:append"j"` (vom, lua!) you can write the clearly superior `(opt formatoptions +j)` (heck yes, ivory tower).
Re:The Future of the Vim Project by berkes on Thursday August 10, 2023 @12:42PM (#37078445)
My config is a horrible frankenstein of both.

I use lua when examples are in lua or when I need some "logic" (such as assigning defaults to a var and then passing that around/overriding). And that's embedded in vimscript.

I don't really like either. VimScript has always been a horror to me, eventhough I've been using vim for some 20 years now, almost exclusively. Lua is "that thing that I should really sit down and learn. But not now, I've got stuff to finish".

What does lua -for an end user- offer that something like yaml+python cannot offer? I really won't mind setting all sorts of flags, defaults and vars from some init.yaml, and then have some init.py to handle the few places where I do need actual logic. Why was lua picked, why did vim build its own language and not move to an existing one for its config? Am I just weird for never sitting down and learning lua? Or vimscript? Or both?

Re:The Future of the Vim Project by enriquto on Thursday August 10, 2023 @01:11PM (#37078821)
independently of vim configuration, lua is a cute general-purpose language worth learning in itself. It is much simpler than python, and the documentation is outstanding.
Re:The Future of the Vim Project by CorrectHorseBat on Thursday August 10, 2023 @03:57PM (#37080952)
Lua is faster than Python and also easier to embed in vim [1] which are both big advantages for the end user. It means fast plugins and no hassle with having the correct python version.

Why Bram build is own language and then doubled down on it with vimscript9 I don't really understand.

[1] https://neovim.discourse.group/t/why-was-lua-chosen-for-neov...

Re:The Future of the Vim Project by enriquto on Thursday August 10, 2023 @05:44PM (#37082188)
> Why Bram built his own language [...] I don't really understand.

What language would have you chosen in 1991 instead of creating vimscript? The vimscript language is a very natural extension[0] of Bill Joy's "ex" language, that was used in vi since 1976. The history of vimscript is not weird, it's just a fairly natural continuation of existing practices. Vimscript9 is a least-friction update for modern times.

[0] https://en.wikipedia.org/wiki/Vim_(text_editor)#Vim_script

Re:The Future of the Vim Project by CorrectHorseBat on Friday August 11, 2023 @02:27AM (#37085713)
I should have written I don't really know anything about.

According to your link scripting was only available from '98, at which point Lua and Python were already around, but then I don't know how viable that would have been. Funny you say that about ex, because I find running ex commands from vimscript the most clunky thing about it.

In my opinion the least friction for the ecosystem would have been to follow neovim and adapt Lua.

Re:The Future of the Vim Project by apetresc on Thursday August 10, 2023 @11:31AM (#37077487)
Neovim's adoption has been incredible. Virtually every major vimscript plugin has either been ported or overtaken by a Lua-native alternative in the Neovim ecosystem.
Re:The Future of the Vim Project by __tmk__ on Thursday August 10, 2023 @12:31PM (#37078302)
I've also seen neovim plugins written in fennel [0], so if you want something lispy, that's possible now.

[0]: a Lisp that compiles to Lua, https://github.com/bakpakin/Fennel

Re:The Future of the Vim Project by arp242 on Thursday August 10, 2023 @09:29AM (#37075918)
> the ability to use Lua over VimScript

The Neovim people went a bit further with the integration, but you've been able to use Lua with Vim for like 20 years or so, and you can use it to write perfectly functional plugins with it. Probably the main difference is that in Neovim Lua is always guaranteed to be available, which isn't the case for Vim.

Re:The Future of the Vim Project by BaseballPhysics on Thursday August 10, 2023 @09:08AM (#37075669)
One of the big ones for me was Wayland support in neovim-gtk (https://github.com/Lyude/neovim-gtk), which therefore, unlike gvim, fully supports fractional scaling.
Re:The Future of the Vim Project by mrzool on Thursday August 10, 2023 @07:56AM (#37075017)
Ubiquity. I have Vim on every machine I log into without installing anything extra.
Re:The Future of the Vim Project by infinitezest on Thursday August 10, 2023 @08:04AM (#37075114)
In my experience, Nvim and Vim are similar enough that I don't have any trouble SSHing into any server with Vim and using it after using Nvim all day for development. So far Nvim has been a purely opt-in experience for me.
Re:The Future of the Vim Project by rgoulter on Thursday August 10, 2023 @09:09AM (#37075682)
With caveats:

- Different servers may have different versions of the program. Some distros are very "stable" and have very old versions of programs.

- It's common (especially for vim) for users to have significant configuration files to make use easier.

Re:The Future of the Vim Project by zelos on Thursday August 10, 2023 @08:00AM (#37075056)
I've switched to Neovim, but there doesn't seem to be a macOS UI nvim client that's quite as polished as MacVim.
Re:The Future of the Vim Project by anta40 on Thursday August 10, 2023 @08:08AM (#37075146)
That's why I still keep vim updated on my mac system. For nvim, the closest one I found is VimR.
Re:The Future of the Vim Project by zelos on Thursday August 10, 2023 @08:14AM (#37075207)
I'm using Neovide for now, which seems to be gathering momentum, but I still miss MacVim. I had a fair few crashes with VimR that ruled it out for me.
Re:The Future of the Vim Project by OJFord on Thursday August 10, 2023 @08:01AM (#37075069)
Well, why should I? I don't need a reason not to do everything, by default I'm not doing things, it's changing from status quo that requires a reason.
Re:The Future of the Vim Project by rgoulter on Thursday August 10, 2023 @09:28AM (#37075905)
It's easier to maintain one codebase than to maintain two forks.

If development of vim dropped and neovim was nominated as its successor, I'd think most vim users would be just fine.

Re:The Future of the Vim Project by OJFord on Thursday August 10, 2023 @09:52AM (#37076173)
Yes, if vim were unmaintained I would switch, that would be a reason to change. But it's not, or at very least hasn't been, so I haven't, that hasn't been a reason to.
Re:The Future of the Vim Project by halostatue on Thursday August 10, 2023 @09:52AM (#37076176)
Not those of us who gvim/MacVim.

Give a real alternative to those instead of the many quarter-implemented GUI shells that are really no better than running Electron, and the switch might be able to happen.

Re:The Future of the Vim Project by yjftsjthsd-h on Thursday August 10, 2023 @11:00AM (#37077026)
> It's easier to maintain one codebase than to maintain two forks.

Not necessarily; if the two codebases are maintained by groups of people with incompatible ideas about how the code should work and what it should do, then keeping things separate is much easier.

> If development of vim dropped and neovim was nominated as its successor, I'd think most vim users would be just fine.

Agreed; they don't diverge that much from an end-user's perspective.

Re:The Future of the Vim Project by tambourine_man on Thursday August 10, 2023 @08:06AM (#37075128)
From what I remember, NeoVim drops vi compatibility mode.

vi is part of POSIX. That alone would be a reason to mantain Vim as a modern superset of vi.

Re:The Future of the Vim Project by revscat on Thursday August 10, 2023 @08:37AM (#37075414)
Neovim is a superset of vim, so this argument applies to both.
Re:The Future of the Vim Project by johncoltrane on Thursday August 10, 2023 @08:59AM (#37075593)
No, Neovim is not a superset of Vim. Vim has things that Neovim doesn't have and vice-versa.
Re:The Future of the Vim Project by marcthe12 on Thursday August 10, 2023 @08:59AM (#37075600)
Neovim remove set compatible (hardcodes set nocompatible). Vim support the POSIX vi via that option.
Re:The Future of the Vim Project by tambourine_man on Thursday August 10, 2023 @11:14AM (#37077207)
Not quite. Vim is vi compatible by default. You have to explicitly opt in for the newer behavior.
Re:The Future of the Vim Project by rgoulter on Thursday August 10, 2023 @09:13AM (#37075728)
In what circumstances would you run `vi` and find yourself upset that you end up in `vim`?
Re:The Future of the Vim Project by tambourine_man on Thursday August 10, 2023 @11:10AM (#37077156)
You won’t, but vi is scriptable and part of POSIX.

It’s a basic infrastructure that you don’t want to break.

Re:The Future of the Vim Project by rgoulter on Thursday August 10, 2023 @11:31AM (#37077479)
Apparently the original vi isn't POSIX compliant; nor is vim. https://vimhelp.org/vi_diff.txt.html#posix

I think "if the script worked before, I want it to work later" has much more practical weight. Though, on the other side of practicality, I've heard sed, awk, and perl suggested for manipulating text in bash scripts far more than I've heard of vi recommended for the task.

Re:The Future of the Vim Project by ansible on Thursday August 10, 2023 @02:45PM (#37080104)
Yes. If you need to do some text manipulation in a shell script, `sed` or something like that is what I'd reach for first. (I haven't used `awk` or Perl for quite a while.) I'd think even `ed` would be a more straightforward choice than `vi`.
Re:The Future of the Vim Project by plugin-baby on Thursday August 10, 2023 @08:15AM (#37075214)
I tried switching recently, mainly because I wanted treesitter. I couldn’t get it working after half a day messing about, a lot of documentation seemed out of date, and I don’t think my standard plugins + .vimrc worked out of the box. My main focus is getting things done, not fiddling with configs and versions, so I gave up. I figure I’ll try again in a couple of years if it’s still tempting.
Re:The Future of the Vim Project by gorjusborg on Thursday August 10, 2023 @08:55AM (#37075551)
Weird. That hasn't been my experience at all.

I copied .vimrc to .config/nvim/init.vim, did a :PluginInstall and was up and running.

Re:The Future of the Vim Project by colordrops on Thursday August 10, 2023 @11:38AM (#37077588)
I fiddled with it for half a day 5 years ago to get it working and have reaped the benefits for 5 years.
Re:The Future of the Vim Project by h11h on Thursday August 10, 2023 @08:39AM (#37075436)
MacVim and gVim. I've looked at neovim and there are many GUI options (paradox of choice), some of which I've tried, but at the end of the day, I'm more comfortable with what I'm already familiar with.
Re:The Future of the Vim Project by rmwaite on Thursday August 10, 2023 @09:14AM (#37075733)
Likewise. I’m a heavy CLI user but gVim/MacVim are so entrenched in my workflow that the lack of a stable GUI for Neovim made it pretty much a nonstarter for me.
Re:The Future of the Vim Project by veilrap on Thursday August 10, 2023 @04:46PM (#37081566)
As some one who only uses vim/neovim in a terminal window - what’s the advantage of having GUI support in vim?

Mouse support in my terminal seems fine, even over ssh. Being able to do things like run it inside of a tmux session has always made it seem like the GUI would be a step back?

Re:The Future of the Vim Project by ciupicri on Thursday August 10, 2023 @08:43PM (#37083682)
You can use gVim as a Notepad on steroids. You have the simplicity and familiarity of Notepad combined with the power vim, e.g. search & replace using regular expressions, syntax highlighting, the ability to delete 5 words by typing ESC d 5 w, plugins like fugitive and so on. I can't select text in neovim by pressing Shift and arrow keys. I can't copy text by pressing Ctrl+C.
Re:The Future of the Vim Project by sigzero on Thursday August 10, 2023 @09:55AM (#37076206)
This is my biggest hurdle as well. The UI not being part of the core is a non-starter for me and I have tried several of the neovim ones.
Re:The Future of the Vim Project by w0m on Thursday August 10, 2023 @01:52PM (#37079427)
I did the Vim -> NeoVim switch a while back (pre-vim9script) and lack of standardized GUI is a non trivial issue. There are solution(s) - but allof them have had too much friction to fit in a workflow for me. Definitely a concern.
Re:The Future of the Vim Project by svlasov on Thursday August 10, 2023 @09:08AM (#37075677)
gvim and vimscript9
Re:The Future of the Vim Project by beej71 on Thursday August 10, 2023 @09:23AM (#37075831)
If neovim had the same keystrokes to move out of a terminal window as it does to move out of editor windows, I'd switch. But as it is, it's super clunky compared to vim.

I know about rebinding to alt, but that doesn't work in all my terminals.

So for me, it's that one lousy thing that keeps me from switching. And if someone knows the magic setting to make it mimic vim, please let me know.

Re:The Future of the Vim Project by imbnwa on Thursday August 10, 2023 @10:19AM (#37076493)
I hear this and the workaround has been opening terminals in a floating window. The “toggleterm.nvim” plugin wraps a bunch of good behavior around this.
Re:The Future of the Vim Project by kzrdude on Thursday August 10, 2023 @12:11PM (#37078031)
What keystrokes does vim use for this? I've never been a big user if terminals inside vim
Re:The Future of the Vim Project by ansible on Thursday August 10, 2023 @02:40PM (#37080034)
I've never used those features, and instead rely on GNU screen (or `term`) to manage my terminal windows. Sometimes I also use horizontal / vertical splits with GNU screen, but it is a bit clunky.
Re:The Future of the Vim Project by QuadmasterXLII on Thursday August 10, 2023 @09:50PM (#37084168)
For better or for worse ive ended up with a workflow heavily dependent on sending vim registers to the terminal
Re:The Future of the Vim Project by arp242 on Thursday August 10, 2023 @09:25AM (#37075858)
- It's not backwards compatible.

- Features I find useful have been removed.

- I dislike Lua, and significantly prefer Vim9Script.

- Gvim is useful at times.

Re:The Future of the Vim Project by nequo on Thursday August 10, 2023 @11:26AM (#37077398)
Out of curiosity to better understand the ways in which Vim can be used:

> Features I find useful have been removed.

Which ones specifically?

> significantly other Vim9Script

What do you like more in Vim9Script?

> Gvim is useful at times.

What are your use cases for the GUI?

Re:The Future of the Vim Project by arp242 on Thursday August 10, 2023 @12:17PM (#37078114)
I'm pretty sure I wrote a long comment about all of this at some point, but I can't seem to find it right now; this is the closest: https://news.ycombinator.com/item?id=21954164

If I look at some Lua plugins and compare that to some of my Vim9Script (or even "legacy VimScript") plugins then I think /Vim9?Script/ "wins" hands-down; it's just much more convenient for programming an editor. It also doesn't help that IMHO Lua isn't all that great of a language to start with – it's not horrible either, just not great.

On Windows gvim works loads better (even on Unix systems gvim is arguably better, because terminals kind of suck and you run in to loads of graphical and input limitations pretty quickly).

But in general: neovim doesn't offer me anything I want or need, I will have to spend time on migrating (e.g. my vimrc would error out, I need to deal with changed defaults, etc.), and for most things I prefer the "highly compatible" attitude from Vim/Bram, which is a trade-off that's not without its downsides, but I really like it (for most software).

Re:The Future of the Vim Project by cossatot on Thursday August 10, 2023 @12:24PM (#37078204)
Personally, I do heavy coding and writing in Neovim (with more extensive config, like LSP and Copilot), but I use macvim and gvim (depending on which OS I'm using) for quick edits or file viewing, because I often need to open files from Finder or Nautilus and I don't have a terminal open in that directory.
Re:The Future of the Vim Project by ciupicri on Thursday August 10, 2023 @08:49PM (#37083728)
> What are your use cases for the GUI?

I don't want to type like it's 1976. I want something simple and easy to use similar Notepad / gedit, but that still powerful when needed.

Re:The Future of the Vim Project by senknvd on Thursday August 10, 2023 @03:23PM (#37080573)
From what I've read[1], vim9script was pushed and developed almost exclusively by Bram. With him, a lot of knowledge about its internals and vision for its future dies.

[1]: https://github.com/vim/vim/discussions/12736#discussioncomme...

Re:The Future of the Vim Project by arp242 on Thursday August 10, 2023 @03:57PM (#37080962)
You're correct it was very much a "Bram project", but that doesn't mean the language needs to die with him: other people can work on it (and already have!) Vim9Script is also "finished", more or less, as "finished" as languages get anyway. The features Yegappan mentions are what we might call "optional features".
Re:The Future of the Vim Project by jzb on Thursday August 10, 2023 @09:33AM (#37075953)
Loyalty? Inertia? I never felt like there was a reason to switch. I admired Bram’s work on Vim, still do, and didn’t see any benefits to switching. Still don’t, as long as the rest of the Vim dev community are willing and able to carry it forward.

For my purposes, Vim is complete. I don’t require new features, as long as it is maintained and runs on modern OSes.

Re:The Future of the Vim Project by accessvector on Thursday August 10, 2023 @09:34AM (#37075965)
neovim became unusable for me when they removed cscope support, which I’ve depended on for my work for almost 15 years now.

That prompted me to return to regular vim and I’ve been perfectly happy since.

Re:The Future of the Vim Project by kps on Thursday August 10, 2023 @09:55AM (#37076200)
Every time I've tried it, something was missing or broken. Currently it's at least :! which breaks apparently because it tries to do something ‘clever’ and complicated, whereas vi and vim just run the command.

(I can live without cscope, since I no longer do significant C and mlcscope has been dead for aeons, though it's shocking that LSPs are still less capable in some respects.)

Re:The Future of the Vim Project by minusf on Thursday August 10, 2023 @01:01PM (#37078714)
not a heavy :! user, what i used there worked, but afaik neovim recommends :te . that's one of the bigger differences. neovim was very proud to have a fully integrated terminal
Re:The Future of the Vim Project by kolme on Thursday August 10, 2023 @10:32AM (#37076650)
I would need to migrate my chunky config files. Some issues should be easy (moving files to ~/.config), some other trickier (vim-specific functionality).

But alas, the motivation is not big enough for me to invest the effort.

Some features I'd like from Neovim are built-in LSP (but Vim has that thank to plugins), and tree-sitter based syntax highlighting.

That's not enough for me to move to Neovim.

Re:The Future of the Vim Project by massysett on Thursday August 10, 2023 @10:42AM (#37076786)
My Vim needs are very modest. I just don’t need anything Neovim has. It’s complication I don’t need.

If Vim got no new features, I wouldn’t care. If Vim became unmaintained but still available from distributions, I’d still use it. If Vim became unavailable (e.g. due to lack of maintenance) I’d be more likely to switch to nvi than Neovim.

I could probably switch to nvi now, but I have no reason to.

Re:The Future of the Vim Project by throwaway290 on Thursday August 10, 2023 @11:13AM (#37077191)
FWIW you can use Neovim like Vim with your existing config, without any of the other stuff. That made the switch easy for me. Of course this means you'd rely on Neovim maintainers honoring that compatibility in future...
Re:The Future of the Vim Project by massysett on Thursday August 10, 2023 @12:28PM (#37078249)
One of the things I really like about Vim is how it maintains compatibility with Vi. The manual obsessively points out features Not in vi. It retains some ill-advised things like :Print because Vi had them. Ancient platforms still work, supposedly.

I care about this not because I used Vi (I never have) but because it’s less likely that some new Vim with a newer distribution release will do something I don’t expect. Vim does want I need it to do. I don’t want it to change.

Neovim on the other hand exists entirely to change things. That’s all well and good. I just don’t want it. My editor is complete.

Re:The Future of the Vim Project by throwaway290 on Thursday August 10, 2023 @02:22PM (#37079819)
Uhm if you read my comment it is specifically about how nvim doesn't change the preexisting behavior of vim. And if I were to believe you then compatibility with vim means compatibility with vi
Re:The Future of the Vim Project by massysett on Thursday August 10, 2023 @05:33PM (#37082081)
I did read your comment word for word: “Of course this means you'd rely on Neovim maintainers honoring that compatibility in future.”

I knew that maintaining compatibility was extremely important to Bram Moolenaar. I also knew that Neovim made a big deal out of removing “cruft” and old stuff they decided no one needed. I preferred Bram’s values.

Re:The Future of the Vim Project by throwaway290 on Thursday August 10, 2023 @07:35PM (#37083113)
and I responded to your "exists to change things". Vim also exists to change things, otherwise it wouldn't exist if Vi was enough. but it is compatible and from my experience nvim is compatible with vim.

Having to rely on them for that is a downside, but I guess you are free to fork nvim if they abandon that promise...

Re:The Future of the Vim Project by layer8 on Thursday August 10, 2023 @11:00AM (#37077022)
By now the two have diverged enough that switching configurations between both is an issue. Vim is still much more widely available (installed by default) than Neovim, which makes it the obvious choice to maintain your configurations for if you don’t specifically care about Neovim features. Furthermore, additions like Lua support, while pragmatic, make Neovim feel less organic to me.
Re:The Future of the Vim Project by ansible on Thursday August 10, 2023 @02:37PM (#37079995)
In that vein, you are probably fine with whatever version of Vim is installed by your distro. But if you want LSP support for more cutting-edge stuff (like Rust), you probably need to install the latest release of Neovim by hand, not using the OS packaging system. Because stuff is changing too fast.
Re:The Future of the Vim Project by BanazirGalbasi on Thursday August 10, 2023 @11:27AM (#37077412)
I feel like I've said the same thing here 3-4 times now, but for some of us it's about what's the most minimal setup required to use the tool. As a sysadmin, I want to be used to the most common tools and configurations that will be on a server without having to take the time to install something new. I could include NeoVim in my Ansible configs for setting up new servers, but generally servers are kept lean so I would rather just use vi/vim for basic edits anyway.

I do use NeoVim with a lightly-customized LazyVim setup on my personal desktop, but I don't use it much differently than I use Vim at the moment. I'm not a power-user, just someone who's comfortable enough with the keybinds that I leave :w everywhere when using a non-vi editor.

Re:The Future of the Vim Project by guhidalg on Thursday August 10, 2023 @11:30AM (#37077469)
Serious question: how is neovim “heavier” than vim?
Re:The Future of the Vim Project by thefifthsetpin on Thursday August 10, 2023 @11:36AM (#37077574)
vim often ships with the base image, so you'd be comparing installing neovim on top of that to installing nothing.
Re:The Future of the Vim Project by tomwheeler on Thursday August 10, 2023 @01:07PM (#37078772)
> for some of us it's about what's the most minimal setup required to use the tool.

That's was the case for me. When I moved from vi to vim 25 years ago, I devoted a lot of time to customizing it for maximum developer efficiency. Around that time, I got a job where I regularly used five different HP/UX machines, a couple of Solaris boxes, and a few other random machines. At the next job, it was HP/UX, AIX, and IRIX. Few of those machines had vim at all, let alone a version compatible with the setup I had on Linux.

I eventually stopped doing the fancy things and settled into using plain vanilla vi, knowing that it would at least work consistently on every machine I used.

Re:The Future of the Vim Project by stcroixx on Thursday August 10, 2023 @11:39AM (#37077608)
For my use case of simple editing, vi was feature complete like 30 years ago. I don't have any preference at all what open source project build implements those features.
Re:The Future of the Vim Project by nemetroid on Thursday August 10, 2023 @11:57AM (#37077842)

  $ rpm -qi neovim
  package neovim is not installed
  $ dnf search neovim
  No matches.
I don't have anything against it, but prefer being able to use the same tool across environments.
Re:The Future of the Vim Project by berkes on Thursday August 10, 2023 @12:47PM (#37078519)
strange.

> Neovim is available through EPEL (Extra Packages for Enterprise Linux)

from https://github.com/neovim/neovim/wiki/Installing-Neovim#cent...

> Neovim is in Fedora starting with Fedora 25 > sudo dnf install -y neovim python3-neovim

from https://github.com/neovim/neovim/wiki/Installing-Neovim#fedo...

Re:The Future of the Vim Project by nemetroid on Thursday August 10, 2023 @01:07PM (#37078774)
Not so strange if you’ve met the kind of sysadmins that don’t enable EPEL.
Re:The Future of the Vim Project by syndicatedjelly on Thursday August 10, 2023 @12:13PM (#37078062)
I would like to use Neovim, but it's not as fully featured as VSCode is, so when I need to boot up something more powerful than Vim, I go to VSCode instead.
Re:The Future of the Vim Project by highpost on Thursday August 10, 2023 @01:07PM (#37078773)
There is an excellent NeoVIM extension that integrates NeoVIM into VS Code. https://marketplace.visualstudio.com/items?itemName=asvetlia...

Best of both worlds.

Re:The Future of the Vim Project by syndicatedjelly on Friday August 11, 2023 @02:26PM (#37092077)
I actually do use the Vim extension in VSCode, it's excellent
Re:The Future of the Vim Project by andrewla on Thursday August 10, 2023 @01:27PM (#37079019)
For me, it's the use of Lua. I switched to neovim in no small part for the sane defaults, the XDG layout support, and the async/terminal stuff (and I found the code simplification, addition of tests, and removal of ancient legacy stuff to be very appealing).

The terminal and async stuff has been "backported" to vim, as it were. But the plugin ecosystem is diverging. The other items are still open, and maybe those will move forward.

At this point Vim9 is the clearly superior language (don't hate me) since it's very domain-specific, while Lua has only very primitive hacky support. But the plugin ecosystems have diverged -- I don't see NeoVim coming back home without native Lua support, and I definitely don't want native Lua support in vim.

Re:The Future of the Vim Project by conor- on Friday August 11, 2023 @02:22PM (#37092032)
For me it's that Vim offers me enough to satisfy what I want out of a development experience and vim is also installed everywhere which means I can carry my setup around to pretty much any machine (including servers when doing remote administration).

Since Vim 8 launched with a built-in package manager I'm able to store my vimrc and any extensions in git and easily grab it on any new machine I'm on. The level of effort required for me to convert to Lua and adopt newer nvim version of plugins I use seems too high relative to the benefits.