News for hackers. Stuff that matters.
Re:TKE: Modern Tcl/Tk-based text editor by Anonymous4C54D6 on Wednesday November 21, 2018 @03:51AM (#18501145)
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! :)

Re:TKE: Modern Tcl/Tk-based text editor by nurettin on Wednesday November 21, 2018 @05:42AM (#18501621)
Vim will win, and everyone will keep on using VSCode/Idea
Re:TKE: Modern Tcl/Tk-based text editor by doppioandante on Wednesday November 21, 2018 @04:44AM (#18501361)
A kakoune user made this one: https://delapouite.github.io/kakoune-tv/

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

Re:TKE: Modern Tcl/Tk-based text editor by boomlinde on Wednesday November 21, 2018 @05:27AM (#18501539)
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.
Re:TKE: Modern Tcl/Tk-based text editor by joppy on Wednesday November 21, 2018 @11:39AM (#18503884)
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?
Re:TKE: Modern Tcl/Tk-based text editor by sophacles on Wednesday November 21, 2018 @04:38PM (#18506308)
I think you should reread the GP, what you're responding to is the opposite of what was said :)
Re:TKE: Modern Tcl/Tk-based text editor by thristian on Wednesday November 21, 2018 @04:22AM (#18501283)
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/
Re:TKE: Modern Tcl/Tk-based text editor by aidenn0 on Wednesday November 21, 2018 @05:31PM (#18506630)
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.
Re:TKE: Modern Tcl/Tk-based text editor by higherhalf on Wednesday November 21, 2018 @04:09AM (#18501232)
Like vimgolf[1]?

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

Re:TKE: Modern Tcl/Tk-based text editor by Anonymous4C54D6 on Wednesday November 21, 2018 @04:16AM (#18501256)
That sort of misses the point of comparing different editors. :)
Re:TKE: Modern Tcl/Tk-based text editor by omaranto on Wednesday November 21, 2018 @09:05AM (#18502722)
Vimgolf can be played in any editor, of course. I enjoy doing it in Emacs.
Re:TKE: Modern Tcl/Tk-based text editor by agumonkey on Wednesday November 21, 2018 @04:21AM (#18501278)
programmable editors accepted ?
Re:TKE: Modern Tcl/Tk-based text editor by gnulinux on Wednesday November 21, 2018 @10:48AM (#18503517)
Editor that is not programmable? Like notepad? All editors I can think of now (emacs, vim, atom etc) have Turing complete extension languages.
Re:TKE: Modern Tcl/Tk-based text editor by yellowapple on Wednesday November 21, 2018 @11:59AM (#18504066)
Even Notepad is programmable if you're brave enough.