Linked by Thom Holwerda on Fri 9th Mar 2012 19:11 UTC
General Development "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).
Thread beginning with comment 510219
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: I love vim
by wigry on Sat 10th Mar 2012 13:39 UTC in reply to "RE: I love vim"
wigry
Member since:
2008-10-09

I believe that nowadays you can easily find an editor that matches vim in feature wise but the elegance of vim is that it works perfectly over 9600 baud modem ;) The bandwith of sending over couple of one-char commands does not kill the modem.

You want to move 10 rows from line 25 to line 50?

25G
10dd
40G
p
:wq

Reply Parent Score: 2

RE[3]: I love vim
by raboof on Sun 11th Mar 2012 15:42 in reply to "RE[2]: I love vim"
raboof Member since:
2005-07-24

the elegance of vim is that it works perfectly over 9600 baud modem ;) The bandwith of sending over couple of one-char commands does not kill the modem.

'telnet/ssh into the server and edit with vim' used to be a good idea when connections had low bandwidth but were otherwise fairly reliable.

Nowadays, it seems to me bandwidth is not much of an issue anymore, and the problem is unpredictable latencies, especially on mobile/wireless networks. The model of 'fetch the complete document, edit it locally, and sync it back' seems to fit that context much better.

Reply Parent Score: 4

RE[4]: I love vim
by zlynx on Mon 12th Mar 2012 15:30 in reply to "RE[3]: I love vim"
zlynx Member since:
2005-07-20

I really dislike people who do that with shared files, like the files in /etc on a Unix system.

It is way too easy for two people to make changes and the last guy overwrites the file.

If both people are using vi it will warn about a swap file in use. Other editors will (sometimes) warn that the file changed while being edited. But the upload and overwrite trick never does.

Reply Parent Score: 2