The Anvil Text Editor

(anvil-editor.net)

26 points | by bwidlar a day ago ago

11 comments

  • aquariusDue 25 minutes ago

    Anvil piqued my interest especially because it provides a REST API to interact with it opening the door to writing extensions in practically anything, similar to Kakoune in that regard. But what I find odd is that there's no mention of a repo (though it has a link to a Discord server) anywhere on the site as far as I've seen.

    Sadly there's no mention of LSP either which is kinda a deal-breaker these days nor anything about tree-sitter. But at the same time this might mean that Anvil is free to experiment with its own solutions without being tied to a standard. Every cloud a silver lining or how it goes.

    Gio also seems like a solid choice for the UI.

    I hope Anvil becomes more popular, it would be fun to see a new generation of niche text editors duke it out between Lem, Helix and Anvil.

  • Arch-TK 25 minutes ago

    > multiple cursors

    But seriously though, why does everything these days need multiple cursors? It's a confusing visual gimmick in every scenario I've seen it implemented in. I'll take fully fleshed out structural regular expressions or even perl-re over multiple cursors any day. Combined with as vim's [c]onfirm flag you get all the benefits of multiple cursors without all the clunky downsides and weirdness.

    • wodenokoto 6 minutes ago

      When I need to edit the code around next five instance of "foo", but not every instance in the open file, then I don't know how to do that with structural regular expression, but pressing ctr+d five times and then edit what I want is really straight forward.

      And I need to edit around a limited version of foo way more often than I need to edit all instances.

    • globular-toast a few seconds ago

      I see multiple cursors as an alternative to macros rather than regexp. There's stuff that is really awkward with regexp, like anything involving multiple lines, for example.

  • euroderf 2 hours ago

    If this can be compiled into WASM and embedded in a web page...

  • andrewshadura 2 hours ago

    I’m not convinced Snarf is still a good name for any function in any piece of software these days. Or ever was, to be honest.

    • tempfile an hour ago

      It got that name from Acme. I don't think it's any worse than "yank", which most of us continue to put up with.

      • lynx23 an hour ago

        One (kill) ring to find them...

    • major505 an hour ago

      Snarf always remembers me of the Thundercats pet.

      • gcanyon 17 minutes ago

        Wow, something I didn't know was in my brain, and you found it. Snarf!