can I get a W in the chat???

EDIT rip inbox lmao

  • @PlexSheep@feddit.de
    link
    fedilink
    11 year ago

    What is ^[ here? Do you literally type that I to the keyboard? Or is it the ANSI escape sequence for Ctrl or something.

    I hate whenever I see something binded to the square braces, does not work properly for qwerty or is at least impractical.

    • @al177@lemmy.sdf.org
      link
      fedilink
      2
      edit-2
      1 year ago

      Ctrl-[ is escape in ASCII (not specifically ANSI/VT100/etc), and Ctrl is sometimes abbreviated as ^.

      I don’t know the exact history of why this is a thing that comes up with vi often. My guess is that ESC on the ADM-3a terminal that vi originally targeted influenced it. On ADM-3a, ESC is where tab is on a PC-101 keyboard, a comfy key to hit while touch typing. When later terminals started to move ESC a couple of rows up it was more ergonomic to hit ctrl-[ instead.