5 ms·
So while vim is my terminal editor of choice, I use Sublime for programming. I can do the challenge in 12 keystrokes, 11 if you don't have to delete a trailing
by binaryblitz 11y ago
So while vim is my terminal editor of choice, I use Sublime for programming. I can do the challenge in 12 keystrokes, 11 if you don't have to delete a trailing line.
1. control+g (Goto line number)
2&3. 11 (line 11)
4. enter
5. cmd+shift+down
6. cmd+x
7. backspace (delete trailing line)
8. cmd+shift+up
9. cmd+shift+l (multiple cursor mode)
10. right arrow (line up cursors)
11. tab
12. cmd+v
- wingerlang 11y agoDid it in 9. 1. DOWN hold until line 11 2. SHIFT+DOWN hold until end of file to select 3. CMD+X to cut 4. BACKSPACE to remove space 5. CMD+A to select all 6. CMD+SHIFT+L to multiline 7. RIGHT to line up 8. TAB 9. CMD+V