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

  • 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.