• 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