I'm going to say vim, and I expect to get yelled at by folk who don't use vim, but here's why I call it elegant software:<p>Vim's entire command model is based on the simple composition of motion and action.<p>Until you understand this you will never 'get' vim. You may be able to use it, even efficiently, but you will never understand how these two simple concepts when fully understood are a force-multiplier.<p>Motion indicates a range, of characters or lines, there are motion keys that will get you: to EOL, to EOF, to next matching char, to braces, to function / class blocks, to predefined marks.<p>An action is something that applies to that range, these can be anything from auto-formatting, changing case, calling out to another process, anything you can imagine.<p>When you understand this suddenly g=GG, ct(, y$ become: reformat document, cut to next paren and copy till EOL respectively. Does that sound horribly esoteric? that's only because you don't yet understand vim motion composition.<p>I'm happy to argue that if anyone fully understands this concept they cannot help but agree that vim is at it's heart seriously elegantly designed software.