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

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

138 active golfers, 873 entries

Solutions by @nak38223985244:
24
#36 - naka / @nak38223985244

07/08/2023 at 02:09AM

33
#>50 - naka / @nak38223985244

07/08/2023 at 02:05AM

34
#>55 - naka / @nak38223985244

07/08/2023 at 01:59AM

35
#>58 - naka / @nak38223985244

07/08/2023 at 01:57AM

37
#>60 - naka / @nak38223985244

07/08/2023 at 01:55AM

39
#>64 - naka / @nak38223985244

07/08/2023 at 01:50AM

40
#>68 - naka / @nak38223985244

07/08/2023 at 01:42AM

41
#>68 - naka / @nak38223985244

07/08/2023 at 01:35AM

44
#>74 - naka / @nak38223985244

07/08/2023 at 01:31AM

45
#>75 - naka / @nak38223985244

07/06/2023 at 01:15PM

46
#>77 - naka / @nak38223985244

07/06/2023 at 01:09PM

47
#>79 - naka / @nak38223985244

07/06/2023 at 12:54PM

47
#>79 - naka / @nak38223985244

07/06/2023 at 01:08PM

48
#>79 - naka / @nak38223985244

07/05/2023 at 01:09PM

55
#>86 - naka / @nak38223985244

07/05/2023 at 01:03PM

62
#>99 - naka / @nak38223985244

07/05/2023 at 12:57PM

63
#>100 - naka / @nak38223985244

07/04/2023 at 01:13PM