Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 4
    Ctrl-c should end insert-mode as well (the '[' is sometime a bit tricky to get on some keyboards)
    – akira
    Commented Jun 24, 2010 at 9:42
  • 1
    I ran the python script and it came back as an empty string. How do I fix this? I'm using putty.
    – Keith
    Commented Apr 26, 2012 at 17:05
  • @Keith: Did you try any of the other diagnostic suggestions? Commented Apr 26, 2012 at 17:25
  • ctrl+[ worked for me for whatever reason, no idea what i did to get my vim stuck. Commented Dec 10, 2015 at 22:09
  • python -c "print(ord(input('char ')))" for people with python3 Commented Nov 13, 2022 at 10:07