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 @SVimgolf:

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

138 active golfers, 873 entries

Solutions by @SVimgolf:
34
#55 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 10:24PM

35
#>58 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 10:20PM

36
#>58 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 10:16PM

37
#>59 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 10:12PM

38
#>61 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 10:10PM

40
#>68 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 08:31PM

42
#>69 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 08:02PM

43
#>70 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 07:53PM

46
#>77 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 07:52PM

47
#>79 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 07:39PM

51
#>82 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 07:24PM

58
#>91 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 07:12PM

60
#>95 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 06:59PM

68
#>108 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 06:52PM

86
#>125 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 06:49PM

266
#>136 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 06:46PM