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

138 active golfers, 873 entries

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

10/15/2021 at 11:57AM

24
#>26 - migoo / @migoo00668679

10/15/2021 at 11:54AM

33
#>47 - migoo / @migoo00668679

10/15/2021 at 11:49AM

34
#>54 - migoo / @migoo00668679

10/14/2021 at 11:22AM

35
#>57 - migoo / @migoo00668679

10/14/2021 at 11:18AM

37
#>58 - migoo / @migoo00668679

10/13/2021 at 05:29AM

39
#>62 - migoo / @migoo00668679

10/13/2021 at 05:26AM

40
#>67 - migoo / @migoo00668679

10/13/2021 at 05:23AM

42
#>69 - migoo / @migoo00668679

10/13/2021 at 05:18AM

43
#>69 - migoo / @migoo00668679

10/13/2021 at 05:11AM

47
#>78 - migoo / @migoo00668679

10/13/2021 at 05:05AM

49
#>80 - migoo / @migoo00668679

10/12/2021 at 05:55AM

55
#>86 - migoo / @migoo00668679

10/12/2021 at 05:35AM

59
#>94 - migoo / @migoo00668679

10/12/2021 at 05:24AM

63
#>100 - migoo / @migoo00668679

10/12/2021 at 05:20AM

73
#>115 - migoo / @migoo00668679

10/12/2021 at 05:13AM

75
#>119 - migoo / @migoo00668679

10/12/2021 at 03:08AM

95
#>129 - migoo / @migoo00668679

10/12/2021 at 02:47AM