Arc Forumnew | comments | leaders | submitlogin
1 point by evanrmurphy 5323 days ago | link | parent

I like not having to press shift to type parens[1], so I switched () with [] in lisp mode.

Clever solution. The only problem in Arc would be the prevalence of [] for anonymous one-variable functions. Maybe switch ( and ) with 9 and 0, respectively, so that you shift to get the numbers instead of the parens?



1 point by akkartik 5322 days ago | link

So far they haven't been that prevalent. I don't want to overoptimize this too much. It takes time to rewire one's muscle memory, and needing shift for some digits but not others smacks of over-cleverness. There isn't that much difference between the frequency of square brackets and digits. Parens on the other hand are easily an order of magnitude more common.

-----

1 point by evanrmurphy 5322 days ago | link

Yes, you're right. I had misread what you wrote earlier and thought that you simply overloaded the [] keys with (). That you actually swapped them is a fine solution indeed.

-----