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

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

438 active golfers, 1669 entries

Solutions by @oscar1marte:
19
#3 - Peagol / @oscar1marte

02/09/2025 at 09:52PM

19
#>3 - Peagol / @oscar1marte

02/09/2025 at 09:59PM

19
#>3 - Peagol / @oscar1marte

02/09/2025 at 10:00PM

20
#>161 - Peagol / @oscar1marte

02/09/2025 at 09:47PM

21
#>265 - Peagol / @oscar1marte

02/09/2025 at 09:42PM

21
#>265 - Peagol / @oscar1marte

02/09/2025 at 09:43PM

22
#>284 - Peagol / @oscar1marte

02/09/2025 at 09:40PM

23
#>304 - Peagol / @oscar1marte

02/09/2025 at 09:34PM

23
#>304 - Peagol / @oscar1marte

02/09/2025 at 09:38PM

24
#>327 - Peagol / @oscar1marte

02/09/2025 at 09:31PM

24
#>327 - Peagol / @oscar1marte

02/09/2025 at 09:40PM

25
#>365 - Peagol / @oscar1marte

02/09/2025 at 09:25PM

26
#>382 - Peagol / @oscar1marte

02/09/2025 at 09:24PM

33
#>408 - Peagol / @oscar1marte

02/09/2025 at 09:23PM

41
#>413 - Peagol / @oscar1marte

02/09/2025 at 09:10PM

46
#>418 - Peagol / @oscar1marte

02/09/2025 at 08:57PM

53
#>418 - Peagol / @oscar1marte

02/09/2025 at 08:20PM