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

134 active golfers, 845 entries

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

10/15/2021 at 11:57AM

24
#>25 - migoo / @migoo00668679

10/15/2021 at 11:54AM

33
#>46 - migoo / @migoo00668679

10/15/2021 at 11:49AM

34
#>53 - migoo / @migoo00668679

10/14/2021 at 11:22AM

35
#>56 - migoo / @migoo00668679

10/14/2021 at 11:18AM

37
#>57 - migoo / @migoo00668679

10/13/2021 at 05:29AM

39
#>61 - migoo / @migoo00668679

10/13/2021 at 05:26AM

40
#>66 - migoo / @migoo00668679

10/13/2021 at 05:23AM

42
#>68 - migoo / @migoo00668679

10/13/2021 at 05:18AM

43
#>68 - migoo / @migoo00668679

10/13/2021 at 05:11AM

47
#>77 - migoo / @migoo00668679

10/13/2021 at 05:05AM

49
#>78 - migoo / @migoo00668679

10/12/2021 at 05:55AM

55
#>84 - migoo / @migoo00668679

10/12/2021 at 05:35AM

59
#>92 - migoo / @migoo00668679

10/12/2021 at 05:24AM

63
#>98 - migoo / @migoo00668679

10/12/2021 at 05:20AM

73
#>112 - migoo / @migoo00668679

10/12/2021 at 05:13AM

75
#>116 - migoo / @migoo00668679

10/12/2021 at 03:08AM

95
#>125 - migoo / @migoo00668679

10/12/2021 at 02:47AM