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):
20
#121 - josh / @_zvjos

06/18/2022 at 10:37PM

20
#122 - Andreas Näsman / @andreas_nasman

06/19/2022 at 08:46PM

20
#123 - Qing Liu / @poeminlash

07/02/2022 at 12:56AM

20
#124 - Janzen / @__Coos

09/15/2022 at 08:04AM

20
#125 - 刘宏亮 / @AkeyCoy

09/24/2022 at 02:10PM

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

10/29/2022 at 06:47PM

20
#127 - Zion Park / @zionpark93

12/18/2022 at 06:50AM

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

01/20/2023 at 12:02PM

20
#129 - Vgaccount645 / @vgaccount616132

04/15/2023 at 06:34PM

20
#130 - Gs Abl / @gs_abl

06/30/2023 at 02:03PM

20
#131 - Golf Vim / @GolfVim11388

07/01/2023 at 12:20AM

20
#132 - Topvimgolf Score / @topvimgolfscore

07/09/2023 at 08:50AM

20
#133 - Michel Ehmen / @MichelEhmen

08/11/2023 at 03:11PM

20
#134 - Tim Sabsch / @tsabsch

08/11/2023 at 03:14PM

20
#135 - Honza Uhlík / @JanUhlik

09/20/2023 at 12:09PM

20
#136 - Chris Atanasian / @chrisatanasian

11/20/2023 at 11:38PM

20
#137 - weixiaobaoL / @weixiaobaoL

01/03/2024 at 07:18AM

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

01/12/2024 at 12:59PM

20
#139 - maxdarling / @maxdarling

02/03/2024 at 06:30PM

20
#140 - Simo Kivistö / @kivissimo

02/07/2024 at 08:11PM

20
#141 - evgenii-kokorin / @evgenii-kokorin

02/14/2024 at 08:36AM

20
#142 - schrjako / @schrjako

04/06/2024 at 09:33AM

20
#143 - Aly Thobani / @alythobani

05/27/2024 at 01:17AM

20
#144 - shannon / @ShannonGu1031

05/28/2024 at 09:43AM

20
#145 - ck961018 / @ck961018

06/13/2024 at 11:23AM

20
#146 - alexeypetrenko / @alexeypetrenko

06/27/2024 at 05:57PM

20
#147 - Petro Mudrievskyj / @petemud

06/28/2024 at 09:43AM

20
#148 - Justin Choi / @Mcthecuber

07/01/2024 at 08:11PM

20
#149 - molnija3d / @molnija3d

07/06/2024 at 12:04PM

20
#150 - Tsimon Dorakh / @Tsimon-Dorakh

08/03/2024 at 04:16PM