Live data from Hacker News

Leaving Neovim for Zed

stevedylan.dev

101–110 of 331 posts

Re: Leaving Neovim for Zed

#101

I tried leaving vim for Helix but turns out it's not curated at my employer's site so I'm back to using vim. Zed would be even worse considering it's a desktop app. There is the option of using vscode but I'm one of those aliens who absolutely dislike that program.

If your employer allows for you to build rust projects, Helix build and installation process from source is pretty straightforward, so that might be an option.

Re: Leaving Neovim for Zed

#102
post #89

I’m going to somehow misuse this discussion to ask for the readership help about something: I don’t understand the appeal of VSCode or more exactly I don’t understand the appeal of the text editor propped with plugins to be a semi-IDE so I guess that would also include Neovim with plugins. In my career, I have used text editors including vim which I still very much enjoy and both Eclipse and IntelliJ when I used to c…

For me, VSCode is not a great editor. It feels cobbled together and often provides a worse development experience compared to language specific IDE HOWEVER.. It has a killer feature if you are doing remote development. It (mostly seamlessly) presents the remote (ssh, docker, wsl) as if it was local, and I've yet to see another editor do it as well and as cleanly. So much so that when doing remote development I'm prep…

For remote development there is Fleet from JetBrains which is still in preview but mostly works (year ago it had a lot of issues). Nonetheless, it still needs a lot of improvements (rendering performance IME is poor, some functionality is missing in comparison to full-fledged IDEs like IntelliJ)

There is also JetBrains Gateway which allows you to run IntelliJ/PyCharm/etc. remotely. I'm using it and it is very usable, however, there are occasional bugs which could be explained by synchronization issues

Btw. Vim should be very usable over ssh (especially with tmux and maybe iTerm2/other terminal integration with tmux' control mode - tmux panes are native windows, new terminal window/tab creates new tmux window/pane etc.). Why are you using VSCode over Vim for remote development?

Re: Leaving Neovim for Zed

#103
"It just works" is precisely why I use Jetbrains products. I'm amazed they are not that common in many developer communities. They are amazing tools.

Re: Leaving Neovim for Zed

#104
post #94
post #11

If you want true Neovim in VSCode check out https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim You get a real, actual VIM (no half-assed bindings), and all the bells and whistles that come with VSCode.

I feel like using this extension is a little buggy. Especially around undo / redo actions being captured in “format on save” type actions that happen thanks to jslint or other tools.

Yes I've tried to use the neovim plugin many times - but always run into some annoying bug, usually due to an interaction with another extension or VSCode feature. It has >400k installs though so it must be working for some people.

Re: Leaving Neovim for Zed

#105

I tried leaving vim for Helix but turns out it's not curated at my employer's site so I'm back to using vim. Zed would be even worse considering it's a desktop app. There is the option of using vscode but I'm one of those aliens who absolutely dislike that program.

I’m with you on VSCode, I just can’t get into it. 20+ years of vim does mean there’s a lot of muscle memory I’m not willing to put aside, and last I checked (admittedly years ago), the vim plugin for VSCode was meh

Re: Leaving Neovim for Zed

#106

I started using Zed in the last month and I had a feeling it would end up taking a lot of Neovim users. Neovim gets a lot of users who need better performance than VSCode, like me, but the config is such a pain and there was a gap in the market for a blazingly fast GUI editor which Zed looks like filling. Supermaven still has some issues on Zed, but apart from that its been rock solid and ive fully switched from Neov…

If you ever go back to Neovim, I’ve had a lot of fun with NVChad. I still had to configure a little bit for LSP but that’s part of the ethos - sane defaults and most stuff off by default for performance and to reduce clutter.

Re: Leaving Neovim for Zed

#107
I don't really care about evangelising anything, but this bit:

> Every now and then I would update a plugin in Neovim and everything would break, and I would have to spend time fixing it instead of getting work done.

Would be a problem anywhere there is a plugin system. Just don't go around updating kitchen sink without having the ability to rollback. Full on version controlling 3rd party plugins could be annoying (unless you use a plugin manager specifically with that support e.g. straight.el or elpaca in Emacs), but simply taking a dumb snapshot of plugin directory may also do the trick.

Re: Leaving Neovim for Zed

#108
post #103

"It just works" is precisely why I use Jetbrains products. I'm amazed they are not that common in many developer communities. They are amazing tools.

Personally, it’s because they are not open source and not as fast.

Re: Leaving Neovim for Zed

#109
For me this feels similar to why I use Helix[1]. I used to use VSCodium and had tried to switch to Vim or Neovim multiple times but didn't manage because of all the plugin configuration to be able to program. Then I saw an HN post about Helix, started it up and it just worked and so haven't used anything else since.

I find the Helix keybindings easier to learn because you see what text will be affected by any operation before you do it. And by using Helix I've found I've been able to pick up Vim keybindings as well so can use it on a server.

I think it would help if it didn't have such a jarring default colour scheme though.

[1] https://helix-editor.com/

Re: Leaving Neovim for Zed

#110
post #48

I’m actually in the opposite camp, I had left VSCode for Zed about 6 months ago and used it exclusively at work/personal projects. I’ve customized it extensively, and loved its approach to Vim integration. But in the last two weeks I’ve made the switch to Neovim (using a customized LazyVim [0] setup). I really like Zed but as others have pointed out they are not prioritizing features around REPL’s, AI, and collaborat…

A couple years ago I got really tired of maintaining my own vim configs, like the author of this piece mentions (plugins and updates causing problems). I just wanted to get out of the business of maintaining my own configs, so I decided to try a bundle, and eventually ended up on LunarVim, with a small handful of "dealbreaker" config changes. As opposed to a basic vim and then a bunch of plugins and custom configs. I…

I also settled on Lunarvim (ans stopped worrying)

I kinda had the same journey as the author except that I clinged to the terminal workflow he had leave behind. Choosing a Neovim distro was the solution for me.

Post reply on HN