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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 439 remaining solutions by signing in and submitting your own entry
#440 Maurice Schmicking / @m_schmicking - Score: 175 - 04/03/23 @ 22:16
10jddggO<Esc>pkddA<BS><Esc>4jkjddgg$pi<BS><Esc>$s6j<Esc>xx6jddgg$ojdd<Esc><Esc><Esc><Esc>ddjjjjjjjddgg$pi<BS><Esc>A<BS><Esc>3jkddgg$pi<BS><Esc>$x<Esc>2jddggpuuddkkpu<C-R>i<Down><BS><Esc>$<BS>xxi <BS><Right> <Esc>2jddggpi<BS><Esc>$xwi<BS><Esc>$x<Esc>3jddggpi<BS><Esc>A<BS><Esc>Gddggpi<BS><Esc>jddi<BS><BS><Esc>A<BS><BS><BS><Esc>ll<Esc>ZZ

0 comments


Created by: @elasticdog

440 active golfers, 1677 entries

Leaderboard (lowest score wins):
24
#331 - Elia Camposilvan / @EliaECoyote

10/23/2025 at 09:11PM

24
#332 - é / @queuefactor

11/12/2025 at 05:54AM

25
#333 - uuu / @uu59

12/30/2010 at 12:15AM

25
#334 - Thedward the Edward / @thedward

01/01/2011 at 04:23AM

25
#335 - ☣Rob Mason☠ / @necr0mancer

01/18/2011 at 05:32PM

25
#336 - Solomon White / @rubysolo

02/08/2011 at 05:15PM

25
#337 - Teflon Ted t(◕‿◕t) / @teflonted

05/30/2011 at 11:57AM

25
#338 - Mikhail Korepanov / @PanyaKor

06/13/2011 at 02:34PM

25
#339 - Petrik de Heus / @four54

08/25/2011 at 05:50PM

25
#340 - sjatkinson / @sjatkinson

08/30/2011 at 03:30AM

25
#341 - IPhone Notiz / @MyIPhoneNotes

11/15/2011 at 05:26PM

25
#342 - lukecowell / @lukecowell

12/13/2011 at 04:33AM

25
#343 - Drew Benedetti / @cnorsl

02/16/2012 at 10:57PM

25
#344 - lucapette / @lucapette

04/27/2012 at 02:39PM

25
#345 - ise0615 / @ise0615

05/04/2012 at 05:11PM

25
#346 - Chris Brown / @engineercyb

07/13/2012 at 02:33AM

25
#347 - Andrey Yankin / @YankinAndrey

07/20/2012 at 11:17AM

25
#348 - mhb / @mhbvim

11/26/2012 at 08:37AM

25
#349 - Tarcísio Gruppi / @txgruppi

12/11/2012 at 04:01PM

25
#350 - Bart of Denver / @bartofdenver

08/12/2013 at 10:32PM

25
#351 - James / @Dronak

08/29/2013 at 10:02PM

25
#352 - Hachez Floran / @FloranHachez

09/04/2013 at 12:28PM

25
#353 - nona urbiz / @nospampleasemam

09/28/2013 at 07:32AM

25
#354 - RobertT / @techrt2050

10/10/2013 at 10:29PM

25
#355 - Zach Kemp / @zvksf

12/20/2013 at 08:22PM

25
#356 - Felipe Jaramillo F / @mrfelipe

04/03/2014 at 12:24AM

25
#357 - Patrick Pitoscia / @Patrick03960431

08/10/2014 at 02:02AM

25
#358 - Tj / @yrddy

08/19/2014 at 06:15AM

25
#359 - Justin Knag / @justinknag

09/16/2014 at 06:34AM

25
#360 - Herr Oppermann / @HerrOppermann

09/18/2014 at 01:45PM