3 ms·
How long did this take you? I don't know vim wizardry and I was curious. Took me 4 mins to do the same thing in js console: 1. copy the text 2. split by \n 3
by brokenawipicute 7y ago
How long did this take you? I don't know vim wizardry and I was curious. Took me 4 mins to do the same thing in js console:
1. copy the text
2. split by \n
3. sort by length
4. you got sorted list
- chrismorgan 7y agoI know all of this off the top of my head, so less than a minute all up. Well, except the line(".") bit; that didn’t occur to me until I’d done it manually with the help of v_g_CTRL-A, and I had forgotten about the "." argument until I looked up its docs—haven’t used it in a while.