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):
28
#391 - jonlorusso / @jonlorusso

12/30/2010 at 01:46AM

28
#392 - Tien Le / @tienlex

01/04/2011 at 12:50AM

28
#393 - tdirrenb / @tdirrenb

05/16/2011 at 03:17AM

28
#394 - sathish316 / @sathish316

11/18/2012 at 05:37PM

28
#395 - João Paiva / @jgpaiva

01/31/2014 at 12:45PM

28
#396 - donghwanjin / @donghwanjin

06/30/2025 at 09:42AM

29
#397 - Chris Parsons / @chrismdp

12/29/2010 at 11:02PM

29
#398 - sorami / @boredoms

04/30/2011 at 10:24PM

29
#399 - くま ก็็็็็็็็็็็็็ʕ•͡ᴥ•ʔ ก้้้้้้้้้้้ 55 / @kumack55

04/03/2013 at 12:27PM

29
#400 - Ryan van Rensburg / @rdvr001

07/28/2016 at 06:20PM

29
#401 - akashcapitalnumbers / @akashcapitalnumbers

12/26/2024 at 06:51PM

30
#402 - Jan B. / @bracki

12/29/2010 at 12:38PM

30
#403 - 5S-RAFI-FAISAL / @5S-RAFI-FAISAL

01/12/2024 at 01:29PM

30
#404 - Jurica Ivekovic-Pontoni / @Mithrulduin

08/05/2025 at 08:56PM

31
#405 - Joe McCall / @joem86

12/29/2010 at 08:32AM

31
#406 - solsTiCe d'Hiver / @solstice_dhiver

12/30/2010 at 06:57PM

31
#407 - Kudryavtsev Alexandr / @kudryav_a

12/16/2012 at 07:18PM

31
#408 - fuku1026 / @fukusuke1026

07/13/2017 at 02:15PM

31
#409 - joao neto / @joaonet49907796

05/17/2021 at 01:39PM

33
#410 - Will Furnass / @WillFurnass

05/08/2012 at 09:52PM

34
#411 - crainist / @crainist

12/30/2010 at 09:06PM

34
#412 - Olivier Bégassat / @zk_evm

06/16/2023 at 01:39AM

35
#413 - reatter / @reatter

09/17/2024 at 04:42PM

39
#414 - Vimfiz / @vimfiz

05/29/2019 at 09:02PM

40
#415 - Nacho Barrientos / @nachobarrientos

12/29/2010 at 01:34PM

44
#416 - DJ Adams / @qmacro

12/29/2010 at 05:43PM

44
#417 - Dan F. / @danielrfh

05/06/2025 at 09:49PM

46
#418 - JimmyGymglish / @JGymglish

01/15/2020 at 03:24PM

46
#419 - Zach Lapidus / @zach_lapidus

05/25/2021 at 02:41AM

46
#420 - steve / @steve35773420

03/04/2023 at 06:39PM