The following gif demonstrates folding:

  • @the_wiz@feddit.org
    link
    fedilink
    217 hours ago

    Honestly: Yeah, i was trolling (kind of), but:

    I DO like to code via ED because the design and workflow of ED (or even better: Sam) makes folding unnecessary because you only put on the screen what is needed right at that moment. Want to see two functions 1000 lines apart? No problem, just print them right below each other on the screen.

    • @HayadSont@discuss.onlineOP
      link
      fedilink
      114 hours ago

      Interesting insights. Much appreciated!

      I DO like to code via ED because the design and workflow of ED (or even better: Sam) makes folding unnecessary because you only put on the screen what is needed right at that moment. Want to see two functions 1000 lines apart? No problem, just print them right below each other on the screen.

      Hmm…, I suppose this is a workflow I’d have to try out for myself before drawing any conclusions. Though, I got some questions:

      • Why ed? Isn’t any other TUI/CLI text editor fit for the job? Apologies if I sound obtuse/obnoxious*. I’m probably just very ignorant of how ed fares compared to the others.
      • Is there any currently maintained version of Sam? A quick search suggests that everyone packaged/grabbed it from this github repo. But, unfortunately, that one has been archived since earlier this year. I suppose I could look into the many forks it has, but I’d rather be picky 😅. Got any pointers for me?