Live data from Hacker News

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

sgoel.dev

151–154 of 154 posts

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

#151

Earlier quoted context omitted.

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.

Nope. It minimizes the terminal by default, at least on macOS. These keybinds leave the terminal / lower bar open and just shift focus back to the editor.

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

#152
post #150
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…

i don't think vim is that bad out of the box. when i ssh into a box and need to get work done, i can install it and use sane defaults with pretty high productivity. i'm used to a plugin- and config-light setup on my personal systems, with most of the customization being stuff like latex compilation and preview from a keybind rather than major changes to default behavior, but the whole "vim needs a bazillion lines of…

Neovim is fine and just as easy nowadays -- if you can `git clone` two repos (in my case: AstroNvim + my config) and just start `nvim` then you can go fill a glass of water and it will be 80% done by the time you sit back on your computer.

But I agree with you and the OP that the defaults with zero configuration do matter and that I wish we had that in every editor.

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

#153
post #118

Earlier quoted context omitted.

If it can open text files and has a cursor im good. Irl i dont grow attached to environments either. Its just to expensive when they vanish. Its just people now :)

Not sure why but I feel almost physical pain when I see nano opened on a fresh setup. I just can’t handle it, it’s surreal.

I just think ok how spoiled we are. In the 50-60s the typist diploma required 300 strokes per minute, without typos, on a mechanical typewriter, from paper or dictation. I never had to tape up a smashed finger.

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

#154

Earlier quoted context omitted.

I think I understand the use case for a smart surround plugin like this; I watched the demo video and saw and lot of picking-and-pulling text. What I don’t understand is the development workflow that includes so much text manipulation. If you’re writing new code, there’s nothing to manipulate. If you’re refactoring existing code, wouldn’t you want the support typical AST-based refactoring tools provide? Where’s the s…

I think you’re just highlighting the different preferences people have between a text editor and an IDE. Obviously the line between the two is very blurry. I much prefer being able to efficiently edit text myself rather than relying on refactoring tools.

Appreciate the response. I viewed it more as a question about scope rather than preference.

At mega-scale, even IDE based tools are skipped in favor of automated tools such as Refaster/OpenRewrite that can refactor 10s of millions of lines of code at once.

I do find myself occasionally using, say, a regex find/replace to change something project wide. But most of the time (95% to put some arbitrary number on it), once I’m beyond the scope of single function, I use AST-based tools to ensure changes are correctly reflected in other files or parts of the project.

So, I’m trying understand to who lives in my 5% long enough that they the need what is essentially a highly specialized regex. Are they doing cross-project changes based on text? Do they have giant functions where that’s not a concern? Are their projects just smaller and they have many of them?

I definitely see the allure of having a smaller, faster editor. How far are people actually able to push that paradigm?

Post reply on HN