Hacker News new | ask | show | jobs
by Anonymous4C54D6 2766 days ago
So, Hackernews, here is what I want you to do. Create a website with "solve this with your editor" challenges where everybody can upload screencasts and compete. :)

An obvious metric would be /time to completion/ but I would also be interested to see /can be done with mouse only while drinking coffee/ or in general /can be done one-handed/, /can be done left handed/ (so the mouse is free) or maybe /keystrokes+clicks/ instead of general timing because it takes the typing speed out of it. Some metric that measures how many shortcuts you have to memorize would be great, too.

Now somebody go and do it! :)

7 comments

Vim will win, and everyone will keep on using VSCode/Idea
A kakoune user made this one: https://delapouite.github.io/kakoune-tv/

It shows the solution to vimgolfs inside kakoune, with number of keystrokes

There is a very large margin between time I spend considering the solution to a problem and the time I then spend writing it, so my main consideration with an editor is ergonomics. For example, if I can do a change without moving my hands off the home row in 20 seconds, that's better than a 5 second change that involves alternating between the keyboard and the mouse.
So you spend a long time considering a change, and then you care about a 15 second difference in the time it takes to apply that change?
I think you should reread the GP, what you're responding to is the opposite of what was said :)
There's http://www.vimgolf.com/ which is obviously focussed on Vim, but there's nothing stopping people from keeping a scoreboard of the same challenges for other editors. For example, the Kakoune editor has their own: https://github.com/mawww/golf/
This is not very useful because vimgolf ends up with very efficient commands that are not at all what the typical vim user would use; or in other words the benchmark will get gamed.
Like vimgolf[1]?

[1]: https://www.vimgolf.com/

That sort of misses the point of comparing different editors. :)
Vimgolf can be played in any editor, of course. I enjoy doing it in Emacs.
programmable editors accepted ?
Editor that is not programmable? Like notepad? All editors I can think of now (emacs, vim, atom etc) have Turing complete extension languages.
Even Notepad is programmable if you're brave enough.