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 200 remaining solutions by signing in and submitting your own entry
#201 ざはす / @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

201 active golfers, 635 entries

Leaderboard (lowest score wins):
21
#31 - Joonas Pihlajamaa / @jokkebk

02/24/2014 at 04:45PM

21
#32 - Pedro Santos / @pedrosans

03/25/2014 at 09:11PM

21
#33 - LC / @leeren

08/10/2014 at 09:01PM

21
#34 - たかっぷ / @takapp

09/18/2015 at 04:46AM

21
#35 - Dimitar Dimitrov / @kurkale6ka

04/11/2016 at 03:22PM

21
#36 - martin tourneboeuf / @martintournebo1

05/21/2017 at 12:22PM

21
#37 - やま / @K6rzv7URxtE6CFy

06/12/2017 at 07:15AM

21
#38 - tom patterson / @pattertom

08/10/2017 at 11:24PM

21
#39 - DHM / @DHM29978992

04/30/2018 at 07:38PM

21
#40 - Chester Yap / @Chest_ErYap

08/04/2019 at 07:12PM

21
#41 - かみひろ / @km_hr

02/04/2023 at 02:32PM

22
#42 - Hubba / @HubbaBubbaFett

01/10/2013 at 09:14PM

22
#43 - Victor Ramirez / @virako

01/22/2013 at 04:10PM

22
#44 - Joel Elkins / @dice_tea

03/02/2013 at 11:22PM

22
#45 - _ky_ / @ultimate_ky

08/13/2013 at 08:19PM

22
#46 - やよい / @0x841

02/04/2017 at 06:11PM

22
#47 - makke_vn / @makke_vn

01/23/2019 at 06:01PM

23
#48 - Yann Moisan / @YannMoisan

01/12/2013 at 03:27PM

23
#49 - django unchained / @DjangoTuxg

01/18/2013 at 12:44AM

23
#50 - Nipunn Koorapati / @nipunn1313

01/21/2013 at 05:08AM

23
#51 - Taro Yamada / @t_yamada8karad

01/28/2013 at 06:58PM

23
#52 - Trevor Powell / @DoomedBunnies

01/29/2013 at 06:03AM

23
#53 - Niels Madan / @nielsmadan

02/01/2013 at 11:04AM

23
#54 - David Schoen / @neerolyte

02/10/2013 at 08:52AM

23
#55 - Kai Yuan / @kentyuan

02/21/2013 at 03:57PM

23
#56 - Vito / @GodFather

02/28/2013 at 08:19AM

23
#57 - Corey Glynn / @albedoa

04/08/2013 at 10:19PM

23
#58 - powertomato / @powertomato

07/08/2013 at 08:32PM

23
#59 - Quota / @Quotad

01/29/2014 at 09:53AM

23
#60 - Caek / @Caek_

08/11/2014 at 12:44AM