• CubitOom
      link
      English
      175 months ago

      Asking someone to quit emacs when they never tried before is a great method to generate random strings for a secure password.

    • TurboWafflz
      link
      fedilink
      135 months ago

      I used emacs when I first started programming because it was what my dad showed me and I always thought it was easier than vim. Then I used a bunch of other things for a while and mostly use vim now and whenever I try to use emacs I am so confused because it makes so much less sense than vim after actually using both

    • @MystikIncarnate@lemmy.ca
      link
      fedilink
      English
      85 months ago

      ! = Force

      Meaning quit without saving. If no changes have been made, you can :q and that will work. If you’ve fumbled and made any change to the file, you’ll need the ! to get it to quit without saving.

    • Yer Ma
      link
      fedilink
      8
      edit-2
      5 months ago

      I’ve always preferred vi commands, they make sense and are mostly abbreviations or regex, all the other editors have the strangest commands…

      To write and quit in vi :wq

      To write and quit in nano: ctrl-o, confirmation dialog about tmp files, ctrl-x, confirmation dialog about exiting… weird feeling that I didn’t actually save the file… reopen, okay it saved, ctrl-x, confirmation dialog, weird feeling that I accidently edited the file…

      • @pete_the_cat@lemmy.world
        link
        fedilink
        English
        25 months ago

        I used nano for years until I forced myself to learn the basics of vi(m), now whenever something opens nano by default it annoys me and I immediately change the editor to vim 😂

        • CashewNut 🏴󠁢󠁥󠁧󠁿
          link
          fedilink
          15 months ago

          Multiline cut

          I just use visual edit mode. Or 5yy for copy 5 lines. Paste is easy - p.

          I’m shit at navigating and anything with the “g” command. I never bothered learning that.