• Im_old@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    I’m not familiar with gg and dG commands, and when I try them on a text file in vi it says they are not valid command. What should they do? (maybe they are specific to vim, but I only have vi, it came with the os and it’s good enough for me).

    Also, :x is WAAAAYYY faster (lol) than :wq 😛

      • Im_old@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Why? I’m not my mum. Looks like you are not even good at explaining the jokes. Not a surprise, she was not impressed either.

        • dumpsterlid@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          9 months ago

          What!? Are you serious? She texted me later and said “Don’t bother coming over again” and I honestly took it as having satisfied her so thoroughly that all she needed was one time with me!?

          Also in vim “gg” navigates to the beginning of a document (remember it as the opposite of “good game”, you are at the beginning). “dG” deletes to G the end of the document, G being the opposite command to gg in that it brings you to the end of a document.

          :wq of course means write and quit

            • dumpsterlid@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              9 months ago

              I use emacs anyways, pshh why did you think I even cared, nerd.

              Ok yeah I mean I use evil bindings but I don’t need to fumble around with practically analog equipment like :wq and :x

              …alright fine I just use stock spacemacs, someone let me into the wizard school and it is amazing but literally everyone else here knows to do magic and the most I have done is make a frog balloon up twice it’s size. I have to keep pretending like I am working on these massive architectures of spell books to influence weather systems in a way that takes dynamic inputs from remote wizard servers in towers…. and honestly I just love org mode in a pretty package that works well out of the box. …most of the gravestones here are dedicated to a great wizard known as Dotfile and I have NO idea who he is.

              Don’t tell anyone or they will find me and run me out of the gates.