News for hackers. Stuff that matters.
Re:Zed now predicts your next edit with Zeta, our new open m... by as-cii on Friday February 14, 2025 @07:23AM (#43047663)
Hey! Zed founder here.

We totally agree with this and that's why Zed will switch the keybinding for accepting an edit prediction to `alt-tab` when the cursor is in the leading whitespace of a line. This way you can keep using `tab` for indenting in that situation.

Also, when there's both an edit prediction and and LSP completion, Zed switches the keybinding to `alt-tab` to prevent the conflict with accepting an LSP completion.

Curious to hear what you think!

Re:Zed now predicts your next edit with Zeta, our new open m... by maxloh on Friday February 14, 2025 @07:40AM (#43047771)
Hi. Could you explain how you plan to make money with the model while open-sourcing it?

It seems contradicting to me.

Re:Zed now predicts your next edit with Zeta, our new open m... by recov on Friday February 14, 2025 @11:32AM (#43050125)
Not everyone can, or wants to set up running a local model. And it'll probably be slower on most users GPUs then what zed runs it on.
Re:Zed now predicts your next edit with Zeta, our new open m... by danielsamuels on Friday February 14, 2025 @08:20AM (#43048006)
For reasons that should be obvious, that's not going to work on Windows.
Re:Zed now predicts your next edit with Zeta, our new open m... by as-cii on Friday February 14, 2025 @08:26AM (#43048050)
Sorry, I assumed macOS: but you're right! For Linux (and Windows, once we ship support for it) the keybinding is alt-l to avoid conflicting with tab switching.
Re:Zed now predicts your next edit with Zeta, our new open m... by VWWHFSfQ on Friday February 14, 2025 @08:55AM (#43048278)
Is there way to change this key binding (tab for accept) right now? Because otherwise I have to stop using this program. It is absolutely obnoxious.
Re:Zed now predicts your next edit with Zeta, our new open m... by awfulneutral on Friday February 14, 2025 @09:54AM (#43048919)
Ohhh, is that why I keep pressing tab and it doesn't accept the prediction lately? I thought it was a bug. It feels weird for tab to double-indent when it could be accepting a prediction - I wonder if alt-tab to do a manual indent rather than accept the current prediction might be preferable?

Edit - On the other hand, a related issue is that if the prediction itself starts with whitespace, in that case it would be good if tab just indents like normal; otherwise you can't indent without accepting the prediction.