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 9v00651eb20100000000025b

Quicksort

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

Start file
21 8 144 3 89 5 13 34 55 2


............................................................................
9G3W"fyEW"kyEW"qyE@f w@n8Gyfj}jj$p@rkp@r@0@o"qp$hyfg$p0"qy$fj}jj$p@rkp@r@0pG
f 0y$"_dd 6Gyw@o"kp"0p0"ky$"my$dd "lyy"lp0d$ @mby2eG2@o"0p yiw@o"0p $hyfg$p$
@n6Gtoy2l}++$p@r@0{+ }jj$p@rkp@r@0@o"qp$hyfg$p0"qy$fj}"jyEW"ayEW"byE+"syEW"x
@jV"ep "eyiw@nGG8Gyfj}jj$p@rk@0{ }-"xyiw*``{ndiw{w"eyiw{dG@mlviw"xP@mhdiw"eP
@c@d@d@aww@a@b @m@s@h @o"mp$xx0"my$dd @o"qp@r@0@o"qp$hyfg$p0"qy$dd@f gg @i@g
6Gw"ryEW"iyEW"oyEW"cyEW"nyE+"dyE+l"jyEW"ayEW"byE+"syEW"gyEW"hyE5Gy$@0 oyEWgg
End file
2 3 5 8 13 21 34 55 89 144


............................................................................
9G3W"fyEW"kyEW"qyE@f w@n8Gyfj}jj$p@rkp@r@0@o"qp$hyfg$p0"qy$fj}jj$p@rkp@r@0pG
f 0y$"_dd 6Gyw@o"kp"0p0"ky$"my$dd "lyy"lp0d$ @mby2eG2@o"0p yiw@o"0p $hyfg$p$
@n6Gtoy2l}++$p@r@0{+ }jj$p@rkp@r@0@o"qp$hyfg$p0"qy$fj}"jyEW"ayEW"byE+"syEW"x
@jV"ep "eyiw@nGG8Gyfj}jj$p@rk@0{ }-"xyiw*``{ndiw{w"eyiw{dG@mlviw"xP@mhdiw"eP
@c@d@d@aww@a@b @m@s@h @o"mp$xx0"my$dd @o"qp@r@0@o"qp$hyfg$p0"qy$dd@f gg @i@g
6Gw"ryEW"iyEW"oyEW"cyEW"nyE+"dyE+l"jyEW"ayEW"byE+"syEW"gyEW"hyE5Gy$@0 oyEWgg

View Diff

1c1
< 21 8 144 3 89 5 13 34 55 2
---
> 2 3 5 8 13 21 34 55 89 144

Solutions by @JetpackJackson:

Unlock 12 remaining solutions by signing in and submitting your own entry
Created by: @normalmo_de

431 active golfers, 1962 entries

Solutions by @JetpackJackson:
6
#17 - JetpackJackson / @JetpackJackson

11/14/2023 at 03:15PM

24
#>209 - JetpackJackson / @JetpackJackson

11/14/2023 at 03:14PM

25
#>267 - JetpackJackson / @JetpackJackson

11/12/2023 at 08:25PM

26
#>280 - JetpackJackson / @JetpackJackson

11/12/2023 at 08:23PM

27
#>297 - JetpackJackson / @JetpackJackson

11/12/2023 at 08:21PM

29
#>312 - JetpackJackson / @JetpackJackson

11/12/2023 at 08:20PM

30
#>323 - JetpackJackson / @JetpackJackson

11/12/2023 at 08:17PM

37
#>368 - JetpackJackson / @JetpackJackson

11/14/2023 at 03:13PM

38
#>371 - JetpackJackson / @JetpackJackson

11/14/2023 at 03:13PM

73
#>410 - JetpackJackson / @JetpackJackson

11/10/2023 at 06:29PM

97
#>422 - JetpackJackson / @JetpackJackson

11/10/2023 at 06:28PM

117
#>426 - JetpackJackson / @JetpackJackson

11/10/2023 at 06:26PM