Live data from Hacker News

Trying out Zed after more than a decade of Vim/Neovim

sgoel.dev

131–140 of 154 posts

Re: Trying out Zed after more than a decade of Vim/Neovim

#131
post #119
post #79

> all the configuration that goes into it before I can use it to start writing code. Yes, this is awful and something the default should've changed years ago instead of continuing this massive collective time waste. But presumably after 15 years you've configured almost everything you need? At least to the point of matching a static config file? > Lua is great, but one JSON file is even better. No way, it's a strict…

> Lua is great, but one JSON file is even better Yeah that single line makes me doubt the whole post, how can a format without comments be an upgrade to any configuration file is beyond me. My customized configs were full of ‘this was broken on this day by something else, link to obscure thread’ before I accepted the way of default.

Zed supports comments in the JSON file. I don't think I've seen any editor which uses JSON for configuration not allow comments in the file.

Re: Trying out Zed after more than a decade of Vim/Neovim

#132

i'm fairly surprised that i fired it up, wrote some go code, and the lsp worked. I too am growing tired of tinkering and want minimal configs. So much so that I had to force myself to stop using doom emacs in favor of neovim. Neovim setup is much simpler now that lua exists but i'd rather not tinker as much as I do. Enabling/Disabling plugins is fun in a way when you wanna take the time to do that. I might give zed a…

It’s only GUI, but you can have it perform the edits over SSH. So it appears to be all local for you, but the files are actually modified on the remote host. https://zed.dev/blog/remote-development

This is the part that impressed me the most! I know other editors "support" this kind of workflow, but opening "remote projects" via SSH is so clean and intuitive in Zed! I love that when you pop the terminal open on a "remote" Zed window, it just opens right in your remote host directory where you would expect.

Re: Trying out Zed after more than a decade of Vim/Neovim

#133
post #121

Earlier quoted context omitted.

What I find strange about an open source product funded by VC money is that all of the people are helping make it a better editor and yet when they eventually exit none of the money will go to them. Compare that to vim where it's truly an open source product.

I think you are not very accurate about “open source product” vs something like “community led project”. People being able to adapt their software to their own needs by making changes to the code is exactly what open source is about. This is good. What is a problem though, is to have the code merged in the main repository requires you to gift them the rights to your code (not just license it). They are also not very…

[deleted]

Re: Trying out Zed after more than a decade of Vim/Neovim

#134
post #131
post #119

Earlier quoted context omitted.

> Lua is great, but one JSON file is even better Yeah that single line makes me doubt the whole post, how can a format without comments be an upgrade to any configuration file is beyond me. My customized configs were full of ‘this was broken on this day by something else, link to obscure thread’ before I accepted the way of default.

Zed supports comments in the JSON file. I don't think I've seen any editor which uses JSON for configuration not allow comments in the file.

Then it isn’t json anymore! Don’t call it that

Re: Trying out Zed after more than a decade of Vim/Neovim

#135
post #134
post #131

Earlier quoted context omitted.

Zed supports comments in the JSON file. I don't think I've seen any editor which uses JSON for configuration not allow comments in the file.

Then it isn’t json anymore! Don’t call it that

I wonder if we can come up with an agreed name for almost json stuff... Maybe json+ and we can tac-on additional characters for what's added. json+c (plus comments), json+t (plus trailing commas), json+tc or json +ct (plus comments and trailing commas), and so on

Re: Trying out Zed after more than a decade of Vim/Neovim

#136
post #122

Earlier quoted context omitted.

Back in the '90s I would customize my development environment to within an inch of its life, but after going from one machine to the next, one toolchain to the next, one operating system to the next, year after year, culminating in one ridiculous six-month period when I had to pave my dev machine and reinstall everything from scratch every two weeks (yes, this was stupid; yes, I knew it was stupid at the time; no, I…

Or you just had to structure your knowledge bases and settings properly. I can restore dev-part of my pc anytime by installing git and making a few clones. Going to another machine is literally a matter of pasting gitlab credentials and init scripts into a terminal. I can even replay things if they have to repeat in a project because I save all the steps I take into a project/job-wise obtf.txt. Working in a non-autom…

That was not an option for me at the time, but I'm glad it works for you.

Re: Trying out Zed after more than a decade of Vim/Neovim

#137

I switched from VSCode to Zed and I’m a huge fan! They don’t have support for Jupyter notebooks yet so I have to use Spyder for those but I love how easily Zed runs and how configurable it is. Also half my workspaces are on remote servers and Zed lets me switch between remote and local workspaces easy which I appreciate.

Reading the article, I thought every positive mentioned is also in VS Code, but VS Code has a larger more mature community.

What drew you to Zed over VS Code?

Re: Trying out Zed after more than a decade of Vim/Neovim

#138
post #9

I’ve been using Sublime Text for more than a decade and I gave Zed a try recently. I don’t have good reasons like the author, but I kinda wanted to see what the hype was about. I really liked everything about it including the much better LSP support and the base key map for Sublime Text was very close so I felt at home quickly. Then I tried actually writing code in my usual workflow and this is where things started t…

I’ve fully migrated from Sublime Text to Zed, but in these areas both are lacking things the other has.

Sublime has great language support out of the box but poor LSP support (basically outsourcing it to a user plugin instead of having a native integration).

Zed has great LSP support but ”poor” language integration (also outsourcing the language plugins to the community, which makes the vary in quality and feature set).

But Zed has great AI integration which Sublime completely lacks, if you’re into that.

Re: Trying out Zed after more than a decade of Vim/Neovim

#139

I switched from VSCode to Zed and I’m a huge fan! They don’t have support for Jupyter notebooks yet so I have to use Spyder for those but I love how easily Zed runs and how configurable it is. Also half my workspaces are on remote servers and Zed lets me switch between remote and local workspaces easy which I appreciate.

Reading the article, I thought every positive mentioned is also in VS Code, but VS Code has a larger more mature community. What drew you to Zed over VS Code?

VSCode is currently more complete than Zed but Zed is more configurable. Also I suspect that Zed will improve rapidly and VSCode is mostly already plateaued due to Zed being new and open source and VSCode being old and made by Microsoft.

Also I’m not immune to hype I suppose

Re: Trying out Zed after more than a decade of Vim/Neovim

#140

Earlier quoted context omitted.

ctr+` is the default behavior on VS Code I use it all the time and I didn’t set it up and I’m sure as hell neither did my co workers. It’s a nice short cut if you have a keyboard with backtick to the left of 1 in the numeral row. If you’re from a country where keyboards have a different key there, I would recommend setting up a short cut manually.

It only opens the terminal by default. The key binding is to use the same shortcut to focus back to the editor.

It does that by default too.
Post reply on HN