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

442 active golfers, 1680 entries

Leaderboard (lowest score wins):
20
#121 - Jung Yeon Park / @park_jungy

08/08/2021 at 07:40PM

20
#122 - Scott Berger / @scottberger

09/25/2021 at 09:49PM

20
#123 - Pedro Minicz / @pedrominicz

03/26/2022 at 09:22PM

20
#124 - russellzhaomao / @russellzhaomao

05/25/2022 at 02:59AM

20
#125 - josh / @_zvjos

06/18/2022 at 10:37PM

20
#126 - Andreas Näsman / @andreas_nasman

06/19/2022 at 08:46PM

20
#127 - Qing Liu / @poeminlash

07/02/2022 at 12:56AM

20
#128 - Janzen / @__Coos

09/15/2022 at 08:04AM

20
#129 - 刘宏亮 / @AkeyCoy

09/24/2022 at 02:10PM

20
#130 - math is what I hate / @mpnmbn

10/29/2022 at 06:47PM

20
#131 - Zion Park / @zionpark93

12/18/2022 at 06:50AM

20
#132 - Александр Моисеев / @Aleksan43607471

01/20/2023 at 12:02PM

20
#133 - Vgaccount645 / @vgaccount616132

04/15/2023 at 06:34PM

20
#134 - Gs Abl / @gs_abl

06/30/2023 at 02:03PM

20
#135 - Golf Vim / @GolfVim11388

07/01/2023 at 12:20AM

20
#136 - Topvimgolf Score / @topvimgolfscore

07/09/2023 at 08:50AM

20
#137 - Michel Ehmen / @MichelEhmen

08/11/2023 at 03:11PM

20
#138 - Tim Sabsch / @tsabsch

08/11/2023 at 03:14PM

20
#139 - Honza Uhlík / @JanUhlik

09/20/2023 at 12:09PM

20
#140 - Chris Atanasian / @chrisatanasian

11/20/2023 at 11:38PM

20
#141 - weixiaobaoL / @weixiaobaoL

01/03/2024 at 07:18AM

20
#142 - 5S-MOHAMED-SHABAIK / @5S-MOHAMED-SHABAIK

01/12/2024 at 12:59PM

20
#143 - maxdarling / @maxdarling

02/03/2024 at 06:30PM

20
#144 - Simo Kivistö / @kivissimo

02/07/2024 at 08:11PM

20
#145 - evgenii-kokorin / @evgenii-kokorin

02/14/2024 at 08:36AM

20
#146 - schrjako / @schrjako

04/06/2024 at 09:33AM

20
#147 - Aly Thobani / @alythobani

05/27/2024 at 01:17AM

20
#148 - shannon / @ShannonGu1031

05/28/2024 at 09:43AM

20
#149 - ck961018 / @ck961018

06/13/2024 at 11:23AM

20
#150 - alexeypetrenko / @alexeypetrenko

06/27/2024 at 05:57PM