this post was submitted on 21 Feb 2024
345 points (90.2% liked)

Programmer Humor

32425 readers
789 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 192 points 8 months ago (9 children)

How is a MacOS only editor without extensions going to gain enough traction to be widely adopted?

[–] [email protected] 119 points 8 months ago (5 children)

No kidding. One of the YouTubers I followed was really shilling Zed editor. He didn't seem to mention that it was Mac only.

Well, I guess it's back to neovim on kiTTY terminal for me.

Sometimes I swear Mac based developers think the world revolves around them.

[–] [email protected] 48 points 8 months ago* (last edited 8 months ago) (1 children)

You're already on a superior editor friend. Don't fall for the propaganda of lesser tools (that of course being anything not neovim)

[–] [email protected] 34 points 8 months ago (2 children)

Eeeehhhh, I was kinda jealous of one of my coworkers Doom Emacs setup. He had automated like 80% of his own job with it. Still haven't bothered to try to learn it myself. One of these days...

[–] [email protected] 20 points 8 months ago (1 children)

What did they automate? I'm trying to get some ideas for my Neov... uhhhh... Emacs with evil-mode setup.

[–] [email protected] 21 points 8 months ago* (last edited 8 months ago) (2 children)

He did this thing where he unified his shell history across thousands of hosts - it was super handy given our extensive use of Ansible playbooks and database managment commands. He could then use a couple hotkeys to query this history within a new open document. Super handy for writing out shell command steps or wrapping things in a bash script you're working on. Unfortunately I don't really have a link to HOW to do this, I just remember thinking "Oh my god, that would save me SO much time".

Nowadays, I just have this giant document with hundreds of our runbook commands and enable Github Copilot to make it SUPER easy to do the same thing without establishing an SSH session in the backend.

[–] [email protected] 11 points 8 months ago (1 children)

Wow, that's super useful! I don't have thousands of hosts, but even with a dozen, it would save me so much time. Why have I never thought of doing this? Thanks for the idea! (now I just need a few lonely evenings configuring the thing)

[–] [email protected] 3 points 8 months ago

There's also Xpipe for that.

[–] [email protected] 4 points 8 months ago

atuin might be useful it syncs your shell history

[–] [email protected] 6 points 8 months ago (1 children)

I returned to emacs yesterday after using vscode out of laziness. I set up doom emacs and got everything I needed. Now typing is fun again. Actually before that tried neovim for the first time. I can't do modal. Makes me very uncomfortable.

[–] [email protected] 1 points 8 months ago (1 children)

Hi, what do you mean by modal?

[–] [email protected] 1 points 8 months ago

In vi for example you switch between modes. In insert mode you can insert text and in normal mode you can move around and do many other actions to edit. Getting used to this takes time and I don't have the energy for now.

[–] [email protected] 12 points 8 months ago* (last edited 8 months ago) (3 children)

If you're a fan of neovim I'd like to take this opportunity to give Neovide a shout. It's essentially a purpose built terminal emulator that can only run Neovim and has some fun extensions with that in mind, like the ability to configure font, window size, fullscreen, window opacity etc. using Vim commands, implement sub-character scrolling, let Neovim floating windows have transparency, and have fun little animations when the cursor moves. It also has support for all the modern terminal emulation essentials like truecolor, ligatures, and emoji. https://neovide.dev/

[–] [email protected] 4 points 8 months ago (1 children)

I've tried it before, it's fine but had issues running on wayland last I tried. Did they fix the wayland issues? Looking at the issue tracker it seems like there are still a few open Wayland issues.

kiTTY by contrast has had Wayland support for about as long as I've used it.

[–] [email protected] 2 points 8 months ago

I've been using it exclusively with Wayland for about a year now and I've yet to have any issues. YMMV however.

[–] [email protected] 1 points 8 months ago

Sounds good, I'll take a look too

[–] [email protected] 1 points 8 months ago

Super cool, just installed this, and eager to spend a workday with it now, thanks!

[–] [email protected] 8 points 8 months ago (2 children)

neovim on kiTTY

Hey that's my combi too!

[–] [email protected] 3 points 8 months ago

Wow! My kinfolk are here!

[–] [email protected] 2 points 8 months ago

Neovim with kitty gang

[–] [email protected] 3 points 8 months ago

The home page doesn't even mention Apple or Mac at all.

[–] [email protected] 3 points 8 months ago

Macheads don't mention other platforms, because why would you use anything else?

[–] [email protected] 18 points 8 months ago (2 children)

They are tracking support for other OSes, and I took a look at the Linux roadmap, and they've made some good headway from the last time I looked. I would use it for its UI performance. I don't like how everything these days use Electron. It also supports Language Server Protocol, so adding extensions for languages should be fairly simple for the community to do. The multiple collaboration seems cool too, although I think most devs would seldom use it.

[–] [email protected] 3 points 8 months ago

When I need performance I just use sublime text. I wish I could have stuck with sublime text, but vs code just had too many extensions I needed.

[–] firelizzard 1 points 8 months ago

VSCode has tons of features that save a lot of time. Unless Zed manages to get close to feature parity, I don’t see how it can complete from a productivity point of view. VSCode’s UI performance isn’t stellar but it’s not nearly bad enough to counteract the productivity boost I get from its features.

[–] starman 10 points 8 months ago

They're planning Linux support

[–] [email protected] 8 points 8 months ago

Only if they actually port it which is what they claim they will do but until then not at all

[–] [email protected] 6 points 8 months ago

And it has no name in this meme 👍

[–] victron 6 points 8 months ago

With the power of circlejerk

[–] [email protected] 5 points 8 months ago

The media coverage for this, half backed suplime clone, is just weird.

[–] [email protected] 4 points 8 months ago

Based on their FAQ, they are not shooting for widespread adoption yet. Extension support and multi-platform appears to be on the roadmap.

Fwiw, I like a lot of the ideas behind the editor, and long-term I might consider it a viable option for some of my work.

[–] [email protected] 3 points 8 months ago

They can implement lsp support, sshfs, and it already has multiple themes which would work for me after it gets ported to linux