• Victor
    link
    fedilink
    656 months ago

    I feel like the images should be switched.

    • @0x4E4F
      link
      English
      -116 months ago

      When you know how to exit, you just slap your face 🤦 and ask “why… why, please, why don’t they add new shortcuts 🤦!”.

      • @[email protected]
        link
        fedilink
        196 months ago

        Lol if you know how to exit, you may know that you actually can change almost everything about vim.

        • @0x4E4F
          link
          English
          -7
          edit-2
          6 months ago

          I don’t think you can add modifier keys in shortcuts.

          And this behavior should come out of the box, not me changing stuff around so I can make it usable. For something that I use all the time, sure, but I only use a terminal text editor with git, and I don’t use git that often. For everything else, I use a GUI text editor (mousepad, leafpad, whatever).

          • @[email protected]
            link
            fedilink
            English
            8
            edit-2
            6 months ago

            nnoremap <C-q> :q<CR>

            This works for me to bind control+q to quit.

            edit: easier to upload an image because lemmy is eating the “html” characters

            • @0x4E4F
              link
              English
              26 months ago

              Hm, will try that. If it works, I’m buying you a beer 🍺.

          • @taladar
            link
            46 months ago

            You can set which editor to use with git using the GIT_EDITOR environment variable instead of telling other people their editor isn’t usable by your standards.

            • @0x4E4F
              link
              English
              16 months ago

              Yes, I know, and I have it set to nano, but even then, I don’t use nano that much anyway, I do most edits in a GUI text editor.

        • @0x4E4F
          link
          English
          16 months ago

          Likewise 👍.