Why vim uses the hjkl keys as arrow keys

“I was reading about vim the other day and found out why it used hjkl keys as arrow keys. When Bill Joy created the vi text editor he used the ADM-3A terminal, which had the arrows on hjkl keys, so naturally he reused the same keys.” As interesting as that is, John Graham-Cumming goes even further back in history. “The reason that keyboard had those arrows keys on it was because those keys correspond to CTRL-H, J, K, L and the CTRL key back then worked by killing bit 6 (and bit 5) of the characters being typed.” Truly fascinating stuff, even though it’s from way before my time (I’m from 1984).

60 Comments

  1. 2012-03-09 7:37 pm
    • 2012-03-09 8:17 pm
  2. 2012-03-09 7:54 pm
    • 2012-03-09 8:39 pm
      • 2012-03-10 10:55 am
  3. 2012-03-09 8:12 pm
    • 2012-03-09 8:35 pm
      • 2012-03-09 9:48 pm
        • 2012-03-09 10:26 pm
          • 2012-03-09 10:51 pm
          • 2012-03-09 11:24 pm
      • 2012-03-10 4:27 am
    • 2012-03-10 1:21 am
    • 2012-03-10 2:09 am
      • 2012-03-10 3:14 am
        • 2012-03-10 4:39 am
        • 2012-03-10 12:22 pm
        • 2012-03-10 5:37 pm
        • 2012-03-10 6:12 pm
          • 2012-03-12 4:27 pm
      • 2012-03-10 8:14 am
      • 2012-03-16 11:52 pm
  4. 2012-03-09 9:56 pm
    • 2012-03-09 10:28 pm
    • 2012-03-10 8:17 am
  5. 2012-03-09 10:56 pm
  6. 2012-03-09 11:02 pm
    • 2012-03-09 11:28 pm
      • 2012-03-10 12:43 am
        • 2012-03-10 2:59 am
      • 2012-03-10 7:37 pm
  7. 2012-03-10 12:29 am
  8. 2012-03-10 1:24 am
    • 2012-03-10 2:09 am
      • 2012-03-10 2:44 am
        • 2012-03-10 11:01 am
        • 2012-03-16 11:58 pm
      • 2012-03-10 4:24 am
        • 2012-03-16 11:59 pm
      • 2012-03-10 1:39 pm
        • 2012-03-11 3:42 pm
          • 2012-03-12 3:30 pm
          • 2012-03-12 4:01 pm
      • 2012-03-10 2:33 pm
        • 2012-03-10 4:31 pm
          • 2012-03-11 6:45 am
          • 2012-03-11 2:34 pm
      • 2012-03-10 6:16 pm
      • 2012-03-10 10:50 pm
  9. 2012-03-10 8:01 am
    • 2012-03-10 10:53 am
    • 2012-03-10 5:36 pm
      • 2012-03-16 11:16 pm
    • 2012-03-10 6:19 pm
      • 2012-03-16 11:19 pm
    • 2012-03-10 6:49 pm
    • 2012-03-11 10:19 am
  10. 2012-03-10 11:25 am
  11. 2012-03-10 2:06 pm
  12. 2012-03-10 9:29 pm