• electric_nan@lemmy.ml
    link
    fedilink
    arrow-up
    55
    arrow-down
    1
    ·
    3 days ago

    I remapped the power button of my computer to whatever that series of keypresses is that exits vim.

    • ArbitraryValue@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      43
      ·
      edit-2
      3 days ago

      that series of keypresses is that exits vim

      One of the great mysteries of the universe. However, I can confirm that my standard power button also exits vim.

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      10
      ·
      3 days ago

      That’s really smart. That way if I ever figure out the command to exit Vim, it’ll behave the same as my current method (powering off the PC.)