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

425 active golfers, 1589 entries

Leaderboard (lowest score wins):
21
#181 - Thomas Schönwälder / @Masei1988

01/22/2011 at 10:33PM

21
#182 - Arthur Chiu / @arthur_chiu

02/06/2011 at 03:23AM

21
#183 - Moltar / @askmoltar

02/07/2011 at 12:59PM

21
#184 - Ruy Diaz / @diazruy

03/15/2011 at 04:03PM

21
#185 - Terje Larsen / @terlars

05/09/2011 at 02:19PM

21
#186 - Justin Love / @wondible

06/10/2011 at 12:17AM

21
#187 - drooooooooooo / @droooooooooooo

08/08/2011 at 02:34AM

21
#188 - Brian Cooke / @bricooke

08/31/2011 at 01:23PM

21
#189 - nicolas bo / @thevegeta

11/09/2011 at 12:42PM

21
#190 - Ivo Dancet / @caifara

12/03/2011 at 05:05PM

21
#191 - Rambominator / @Rambominator

12/13/2011 at 08:27AM

21
#192 - suhair hassan / @suhairhassan

12/28/2011 at 05:34AM

21
#193 - snuffling / @snuffling

02/13/2012 at 02:10AM

21
#194 - Vasil Sakarov / @vsakarov

02/17/2012 at 06:22PM

21
#195 - じょんあば / @john_ababa

02/22/2012 at 01:29PM

21
#196 - oliver mueller / @marcontwit

02/26/2012 at 06:33AM

21
#197 - Pawel Obrok / @mrYapee

03/13/2012 at 03:04PM

21
#198 - drupalovereasy / @drupalovereasy

04/15/2012 at 03:14AM

21
#199 - david ta / @tadavid

04/16/2012 at 12:56AM

21
#200 - mnx / @mnxx

05/09/2012 at 03:25PM

21
#201 - Kerson Hsiao / @KersonHsiao

07/23/2012 at 12:22PM

21
#202 - Tim Uruski / @timuruski

08/12/2012 at 01:14AM

21
#203 - Martin Petrov / @mgpetrov

08/23/2012 at 01:38PM

21
#204 - vansan / @VinceVansan

08/25/2012 at 05:31PM

21
#205 - tmr / @tmr314

09/08/2012 at 05:50PM

21
#206 - T / @tea_sea

10/12/2012 at 12:24PM

21
#207 - Darcy Parker / @DarcyParker

10/16/2012 at 06:15PM

21
#208 - G. Ahtune / @gahtune

11/03/2012 at 11:51AM

21
#209 - Marcin Szamotulski / @me_coot

11/22/2012 at 11:05PM

21
#210 - Lieven Keersmaekers / @LievenKeersmaek

12/15/2012 at 09:03PM