More fun with VIM, it only takes six key strokes to save and quit.

    • cavemeat@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Oh this is awesome. I’ve been wanting to learn vim and this looks like a super fun way to do it.

    • state_electrician@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      :x<enter> are also four. I don’t think you can do it in fewer strokes. In Windows I would usually use Ctrl+S, Alt+F4. Also four. You could maybe do Alt+F4 or Ctrl+Q or whatever and just hit Enter when the software asks to save unsaved changes. That’d be three strokes.

  • Neotecha (She/her)@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Always fun to learn something new. I’ve primarily used vim since 2016, and i never knew g_ to jump to last non-space character in the line

    • PenguinCoder@beehaw.orgOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      By TUI do you mean VI/M? Or something like helix or slap??

      VI is usually on 99% of the time on any Linux system. That’s why I use VIM, to ensure I know what to do for editing and how to do it at a basic level. I mean personally I have a bunch of config settings and plugins, but I an do basic tasks with VI and feel comfortable. I believe that is important for a Linux admin.

      • Cinnamon@beehaw.org
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Like I know how to use it but it never really clicked for me, I’ve tried helix, neovim, vim and nano but it doesn’t click for me.

        • tshannon@beehaw.org
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          When it does click with you, them every other editor feels a little broken. It’s a double edged sword.

          • hundertzwoelf@feddit.de
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Yeah, seeing how people use arrow keys or their mouse to navigate around a text document made me realize how little I wanna go back.