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 431 remaining solutions by signing in and submitting your own entry
#432 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

432 active golfers, 1636 entries

Leaderboard (lowest score wins):
23
#301 - Pete Sevander / @Sevanteri

11/13/2015 at 01:56PM

23
#302 - Plicatibu / @plicatibu

08/13/2022 at 10:09PM

24
#303 - Akira Matsuda / @a_matsuda

12/30/2010 at 01:40PM

24
#304 - Cristi Balan / @evilchelu

01/01/2011 at 06:54AM

24
#305 - Stuart Gale / @bishboria

01/02/2011 at 08:23PM

24
#306 - aimee / @sermoa

01/03/2011 at 12:54PM

24
#307 - Wesley Wong / @wesleymwwong

01/29/2011 at 08:59AM

24
#308 - Mike Marion / @mikejmarion

03/22/2011 at 06:49AM

24
#309 - Craig H. Anderson / @CootCraig

04/18/2011 at 04:17PM

24
#310 - icdark / @icdark

05/29/2011 at 11:29PM

24
#311 - Jim Infield / @jinfield

07/14/2011 at 09:49PM

24
#312 - seanwalberg / @seanwalberg

01/31/2012 at 03:45AM

24
#313 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 07:55PM

24
#314 - Dan Oneata / @DanOneata

08/06/2012 at 11:26PM

24
#315 - Sven Koesling / @McSvenster

09/24/2012 at 09:08AM

24
#316 - isayoldchap / @isayoldchap

09/07/2013 at 04:49PM

24
#317 - brett / @brettyukich

09/21/2013 at 10:08PM

24
#318 - gary.klindt@googlema / @garstekli

12/01/2013 at 07:51PM

24
#319 - Ram Tamtam / @ramtamtamtam

06/30/2014 at 11:14AM

24
#320 - Ben Vandervalk / @benvvalk

09/22/2015 at 04:52AM

24
#321 - Matt Rasmus / @_mattrasmus

10/11/2016 at 03:13PM

24
#322 - july9793 / @july9793_

01/07/2022 at 12:47AM

24
#323 - Geek Boy / @Geek79

11/08/2022 at 10:00PM

24
#324 - wihinenh / @wihinenh

04/29/2024 at 05:41PM

24
#325 - Adi / @adi2004

09/23/2024 at 12:57PM

24
#326 - Nalfein (Kenny) / @Nalfein16

05/15/2025 at 07:17PM

25
#327 - uuu / @uu59

12/30/2010 at 12:15AM

25
#328 - Thedward the Edward / @thedward

01/01/2011 at 04:23AM

25
#329 - ☣Rob Mason☠ / @necr0mancer

01/18/2011 at 05:32PM

25
#330 - Solomon White / @rubysolo

02/08/2011 at 05:15PM