• CronyAkatsukiA
    link
    fedilink
    arrow-up
    83
    arrow-down
    2
    ·
    edit-2
    5 months ago

    :w

    :w

    :w

    :w

    :w

    i

    esc

    :w

    :w

    :w

    :w

    Average day in (neo)vim

      • calzone_gigante@lemmy.eco.br
        link
        fedilink
        arrow-up
        9
        ·
        5 months ago

        I use quake style terminals, and often start writing a file and completely forget about it and turn off the computer, and only remember what i left behind when i find the random recovery files around, so :w a lot is quite useful for me.

          • calzone_gigante@lemmy.eco.br
            link
            fedilink
            arrow-up
            9
            ·
            5 months ago

            Yes, on classic fps you could spaw a console that will drop down from the top os the screen, some terminal emulators allow you to do that.

            I like it because then i have the terminal always open that i just draw from the top of the screen with a keypress

            On KDE i do that with Yakuake, and on gnome with tilix

        • noeontheend@beehaw.org
          link
          fedilink
          arrow-up
          2
          ·
          5 months ago

          My biggest (mostly) irrational internet pet peeve is the proliferation of people suggesting “:wq” when “:x” is strictly better.

    • SorryQuick@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      Is there any reason to use :w other than it being the default? I have mine mapped to CTRL-S and it makes sure to keep me in insert mode if I was in insert mode. Feels way faster and easier to spam than the 4 key presses it takes to execute “:w”.

      • CronyAkatsukiA
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        I’m just used to it and I’m keeping ny time in instert mode at minimum.

    • marswarrior@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      5 months ago


      This will allow you to ctrl+s to save. I tried to add this in a backtick code line/block but it removes part of the syntax.

      • CronyAkatsukiA
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Sorry but I’m already used to :w stoo much and a lot faster with it than ctrl+s

      • CronyAkatsukiA
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Requires me to use my pibky for ctrl. I have esc remaped to caps so its faster for ke to just do :w