Earlier quoted context omitted.
Weird, I just added `zed-editor` to my environment and it's fine. NixOS is listed here: https://zed.dev/docs/linux For me, works as expected.
I just tried it on NixOS 24.05. It starts, but nothing happens when I click "Open a project" or Ctrl+O. It's as if it lacks the ability to show a file selection dialog.
Zed on Linux Is Here
331–340 of 703 posts
Re: Zed on Linux Is Here
#332Earlier quoted context omitted.
Okay, call me weird, but why our standards have fallen so low? VSCode may appear fast, but still has massive latency. The Zed website claims 97ms. I can feel it is laggy. Why can't we have response time under 1ms? Even 5ms would be a massive improvement. For me latency is a massive productivity killer as it feels like walking in a swamp and it always puts me off.
A typical 60 Hz screen refresh is 16.7 ms
(I'm not sure I would notice typing, but for dragging windows around I could never go back to 60fps.)
Re: Zed on Linux Is Here
#333Earlier quoted context omitted.
Yep that helps a ton, thanks. Now it behaves more like nvim, and cursors around much faster - $ time vim -c 'syn off' tt.json real 0m3.277s user 0m1.690s sys 0m0.349s
This makes sense. I recently learned that VSCode is clever enough to automatically disable some features (which includes syntax highlighting among I guess other things) when it detects that the file is too big according to some heuristics (like probably, length of the longest line, or maybe just total size of the file). So IMO I think vim is being "too dumb" here and should be able to adapt like VSCode does. But, mea…
Disabling the advantages of one application vs another is just kneecapping the superior editor IMO.
Re: Zed on Linux Is Here
#334Earlier quoted context omitted.
I just tried it on NixOS 24.05. It starts, but nothing happens when I click "Open a project" or Ctrl+O. It's as if it lacks the ability to show a file selection dialog.
Could this be your issue? https://zed.dev/docs/linux#opening-files-does-not-work
But now I get issues that are likely due to problems with downloading language server binaries and running them, as the parent comment indicated. When I open a Rust project it says "Language server rust-analyzer-2024-07-08 (id 1) status update: Failed to load workspaces."
Also, it dumps core every time I quit. :)
Re: Zed on Linux Is Here
#335Re: Zed on Linux Is Here
#336Earlier quoted context omitted.
Not to my knowledge, outside of whatever Debian comes with. Keep in mind this was on a Chromebook - so it would have been running in a VM on a rather memory restricted system. That said, VSCode would have been running in the same parameters. Just found the file. 42MB on a single line. Takes 5 seconds to open in vim, and about 3 seconds for the right arrow to move the cursor one char over. Nothing like gedit, but slow…
> on a single line This makes a world of a difference when your editor is configured to wrap lines, or clip or w/e. You probably happened to have VSCode configured to do something that mitigates the problems of having an extremely long single line, while Vim was not configured to do that. In case you don't want to investigate the problem, but want to make a more "fair" comparison: use a language that you are comforta…
Defaults matter.
Re: Zed on Linux Is Here
#337Earlier quoted context omitted.
but vscode is open source: https://github.com/microsoft/vscode and there are third-party builds from the community that disable things like telemetry: https://vscodium.com/
The problem is that many parts of the ecosystem require that you use the official MS build. You can't connect to the Marketplace and some extensions outright can't be used with a custom build.
Re: Zed on Linux Is Here
#338I still use the JetBrains products as daily drivers but always keen to use new tools like this.
Re: Zed on Linux Is Here
#339Earlier quoted context omitted.
> on a single line This makes a world of a difference when your editor is configured to wrap lines, or clip or w/e. You probably happened to have VSCode configured to do something that mitigates the problems of having an extremely long single line, while Vim was not configured to do that. In case you don't want to investigate the problem, but want to make a more "fair" comparison: use a language that you are comforta…
> You probably happened to have VSCode configured to do something that mitigates the problems of having an extremely long single line, while Vim was not configured to do that. Defaults matter.
Re: Zed on Linux Is Here
#340Earlier quoted context omitted.
Ha. KDE 6 has something like if you jiggle the cursor a certain way, it temporarily grows larger. Better than Windows's function of "hide all my windows"...
Pressing some key a few times in Windows highlights your cursor. I just can't remember what it was (Ctrl I think)