Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 9v0060b82e38000000000208

Transpose a python matrix

Rotate the matrix in 90 degrees.

Start file
((1, 2, 3, 4),
 (5, 6, 7, 8),
 (9, 10, 11, 12),
 (13, 14, 15, 16))
End file
((1, 5, 9, 13),
 (2, 6, 10, 14),
 (3, 7, 11, 15),
 (4, 8, 12, 16))

View Diff

1,4c1,4
< ((1, 2, 3, 4),
<  (5, 6, 7, 8),
<  (9, 10, 11, 12),
<  (13, 14, 15, 16))
---
> ((1, 5, 9, 13),
>  (2, 6, 10, 14),
>  (3, 7, 11, 15),
>  (4, 8, 12, 16))

Solutions by @migoo00668679:

Unlock 18 remaining solutions by signing in and submitting your own entry
Created by: @Kyle98675198

70 active golfers, 351 entries

Solutions by @migoo00668679:
23
#12 - migoo / @migoo00668679

10/15/2021 at 11:57AM

24
#>18 - migoo / @migoo00668679

10/15/2021 at 11:54AM

33
#>22 - migoo / @migoo00668679

10/15/2021 at 11:49AM

34
#>25 - migoo / @migoo00668679

10/14/2021 at 11:22AM

35
#>26 - migoo / @migoo00668679

10/14/2021 at 11:18AM

37
#>26 - migoo / @migoo00668679

10/13/2021 at 05:29AM

39
#>28 - migoo / @migoo00668679

10/13/2021 at 05:26AM

40
#>30 - migoo / @migoo00668679

10/13/2021 at 05:23AM

42
#>31 - migoo / @migoo00668679

10/13/2021 at 05:18AM

43
#>31 - migoo / @migoo00668679

10/13/2021 at 05:11AM

47
#>36 - migoo / @migoo00668679

10/13/2021 at 05:05AM

49
#>36 - migoo / @migoo00668679

10/12/2021 at 05:55AM

55
#>39 - migoo / @migoo00668679

10/12/2021 at 05:35AM

59
#>46 - migoo / @migoo00668679

10/12/2021 at 05:24AM

63
#>49 - migoo / @migoo00668679

10/12/2021 at 05:20AM

73
#>57 - migoo / @migoo00668679

10/12/2021 at 05:13AM

75
#>59 - migoo / @migoo00668679

10/12/2021 at 03:08AM

95
#>65 - migoo / @migoo00668679

10/12/2021 at 02:47AM