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

443 active golfers, 1683 entries

Leaderboard (lowest score wins):
20
#151 - Petro Mudrievskyj / @petemud

06/28/2024 at 09:43AM

20
#152 - Justin Choi / @Mcthecuber

07/01/2024 at 08:11PM

20
#153 - molnija3d / @molnija3d

07/06/2024 at 12:04PM

20
#154 - Tsimon Dorakh / @Tsimon-Dorakh

08/03/2024 at 04:16PM

20
#155 - Suhaib Murshid / @suhaibm

08/31/2024 at 08:07AM

20
#156 - countime / @countime

11/27/2024 at 02:00PM

20
#157 - bounce114 / @bounce114

12/01/2024 at 11:58AM

20
#158 - Oleksii Sanin / @AlexSanin

12/07/2024 at 12:38PM

20
#159 - interminable007 / @interminable007

01/03/2025 at 03:12PM

20
#160 - Colin Benner / @yzhs

01/12/2025 at 08:41AM

20
#161 - Pa7shohG / @Pa7shohG

01/25/2025 at 04:06PM

20
#162 - Sergii Pidgornyi / @spodgorn

02/13/2025 at 06:28PM

20
#163 - Matthew J McIlree / @mmcilree

09/01/2025 at 11:11PM

20
#164 - adityakamath255 / @adityakamath255

11/22/2025 at 07:31AM

21
#165 - Leonard Chin / @lchin

12/29/2010 at 12:04PM

21
#166 - Nadja Untendiegruft / @nadjau

12/29/2010 at 02:56PM

21
#167 - Josh Weinberg / @jcweinberg

12/29/2010 at 06:46PM

21
#168 - Paul King / @nrocy

12/29/2010 at 07:02PM

21
#169 - kana / @kana1

12/29/2010 at 07:30PM

21
#170 - Austin Taylor / @austintaylor

12/29/2010 at 09:46PM

21
#171 - Birgir Haraldsson / @bix0r

12/30/2010 at 09:24AM

21
#172 -  Ikhsan Maulana / @ixandidu

12/30/2010 at 10:04AM

21
#173 - Ben Lenarts / @benlenarts

12/30/2010 at 10:40AM

21
#174 - Brad / @bjjwillis

12/30/2010 at 11:16AM

21
#175 - Will Hardy / @whrde

12/30/2010 at 12:36PM

21
#176 - milkypostman / @milkypostman

12/30/2010 at 04:20PM

21
#177 - Ricardo Mendes / @locks

12/30/2010 at 08:10PM

21
#178 - Steve Morrow / @yawmark

12/30/2010 at 09:05PM

21
#179 - Pierre / @Pihour

12/31/2010 at 10:53PM

21
#180 - Fer Enaf / @0x00C0FFEE

01/05/2011 at 11:04AM