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 50ee7504c0e3aa0002000040

Prefixes and suffixes

Generate all prefixes of "vimchallenge", then all suffixes.

Start file
vimchallenge
End file
vimchallenge
vimchalleng
vimchallen
vimchalle
vimchall
vimchal
vimcha
vimch
vimc
vim
vi
v

vimchallenge
imchallenge
mchallenge
challenge
hallenge
allenge
llenge
lenge
enge
nge
ge
e

View Diff

1a2,25
> vimchalleng
> vimchallen
> vimchalle
> vimchall
> vimchal
> vimcha
> vimch
> vimc
> vim
> vi
> v
> 
> vimchallenge
> imchallenge
> mchallenge
> challenge
> hallenge
> allenge
> llenge
> lenge
> enge
> nge
> ge
> e

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 195 remaining solutions by signing in and submitting your own entry
#196 ざはす / @3Wx5hGakbTMP - Score: 206 - 07/31/21 @ 13:30
yyp..........ld$kll.kll.kll.kll.kll.kll.kll.kll.kll.kll.kyyjjjjjjjjjjjjjjjjjjo<Esc>pyyppppppppppppllllllllllld0klllllllllld0klllllllll.klllllllllh.klllllll.kllllll.kllllllljjkkhh.klllllh.kllllh.kll.kllh.kdd:wq<CR>

0 comments


Created by: @runarfu

196 active golfers, 629 entries

Leaderboard (lowest score wins):
17
#1 - Kerson Hsiao / @KersonHsiao

01/12/2013 at 07:19PM

17
#2 - Urtica dioica / @udioica

01/12/2013 at 07:43PM

17
#3 - Zach Kelling / @zeekay

02/25/2013 at 07:27PM

17
#4 - Andrés Llopis / @andreselsuave

03/04/2013 at 02:32AM

17
#5 - Marco Hinz / @_mhinz_

05/23/2013 at 09:26PM

17
#6 - Petro Тrouq / @zulolosi

05/29/2013 at 09:04PM

17
#7 - retired account / @retired10072015

06/03/2013 at 10:48AM

17
#8 - Stefan Schmidt / @stafue

12/06/2013 at 02:27PM

17
#9 - jimauthors / @jimauthors

02/11/2014 at 11:08PM

17
#10 - Xelrifos / @Xelrifos

02/26/2014 at 07:03PM

17
#11 - John Braxler / @braxler

04/03/2014 at 07:08PM

17
#12 - Justin Knag / @justinknag

10/15/2014 at 07:00PM

17
#13 - pftb12345 / @pftb12345

04/12/2015 at 02:43AM

17
#14 - Jon Krause / @jkrause314

01/06/2016 at 06:41AM

17
#15 - Daniel / @Daniel00288663

04/03/2017 at 12:23PM

17
#16 - Brandon Blakeley / @zkelvin

11/25/2017 at 06:11PM

17
#17 - Turkey Man / @lvturkeyman

11/26/2017 at 06:47AM

17
#18 - majo senf / @majo_senf

06/25/2019 at 01:10PM

17
#19 - Miłosz Łakomy / @foobar01123

02/08/2020 at 03:54PM

17
#20 - エターナル雑魚 / @eternalzako

03/15/2020 at 12:36AM

17
#21 - Jean George / @JeanGeo20504212

03/20/2022 at 11:17PM

17
#22 - russellzhaomao / @russellzhaomao

06/06/2022 at 08:24AM

17
#23 - Janzen / @__Coos

09/28/2022 at 06:55AM

17
#24 - pc three0727 / @PThree072740750

04/16/2023 at 10:45AM

17
#25 - Peppa Pig / @PeppaPi95550250

08/19/2024 at 08:01AM

17
#26 - nickGPT / @nickandbro

08/28/2024 at 06:59PM

18
#27 - Hachez Floran / @FloranHachez

09/03/2013 at 08:13PM

18
#28 - Mihai / @mihaicristiant

02/01/2019 at 05:17PM

18
#29 - Lory / @Lory46845742

12/05/2019 at 02:12PM

21
#30 - Kurt Robert Rudolph / @krudolph9

01/10/2013 at 08:31PM