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 4d1a6a8eb8cb34093200007a

Reconstruct the Sentence

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

Start file
time you're 7
in the 4
proper order 5
will be 2
by the 5
by the 5
put back 3
Vim! 10
done with 8
put back 3
This sentence 1
it in 9
End file
This sentence will be put back in the proper order by the time you're done with it in Vim!

View Diff

1,12c1
< time you're 7
< in the 4
< proper order 5
< will be 2
< by the 5
< by the 5
< put back 3
< Vim! 10
< done with 8
< put back 3
< This sentence 1
< it in 9
---
> This sentence will be put back in the proper order by the time you're done with it in Vim!

Solutions by @mmcilree:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @elasticdog

445 active golfers, 1697 entries

Solutions by @mmcilree:
20
#165 - Matthew J McIlree / @mmcilree

09/01/2025 at 11:11PM

21
#>268 - Matthew J McIlree / @mmcilree

09/01/2025 at 11:09PM

22
#>290 - Matthew J McIlree / @mmcilree

09/01/2025 at 11:07PM

23
#>309 - Matthew J McIlree / @mmcilree

09/01/2025 at 11:06PM

24
#>334 - Matthew J McIlree / @mmcilree

09/01/2025 at 10:55PM

24
#>334 - Matthew J McIlree / @mmcilree

09/01/2025 at 11:00PM

24
#>334 - Matthew J McIlree / @mmcilree

09/01/2025 at 11:05PM

25
#>372 - Matthew J McIlree / @mmcilree

09/01/2025 at 10:54PM

26
#>388 - Matthew J McIlree / @mmcilree

09/01/2025 at 10:51PM

27
#>393 - Matthew J McIlree / @mmcilree

09/01/2025 at 10:49PM

30
#>408 - Matthew J McIlree / @mmcilree

09/01/2025 at 10:59PM