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 172 remaining solutions by signing in and submitting your own entry
#173 したろう / @shitaro2012 - Score: 172 - 01/02/15 @ 08:58
qappp<Esc><Esc>qYpppppppppp0:10<BS><CR>A<Esc>jxq<Esc><Esc>jhlDjd<Esc><Esc>hlDjDjDjDjDjDjDjD<CR>ov<CR><CR><Esc>:1<CR>YGpP<Up>p<Up>P<Down>pppppppp:15<CR>ddxjxjx<Up>xjxxjxxxxjxxxxxjxxxxxxjxxxxxxxjxxxxxxxxjxxxxxxxxxjxxxxxxxxxxjxxxxxxxxxxx<Esc>:wq<CR>

0 comments


Created by: @runarfu

173 active golfers, 531 entries

Leaderboard (lowest score wins):
21
#31 - やま / @K6rzv7URxtE6CFy

06/12/2017 at 07:15AM

21
#32 - tom patterson / @pattertom

08/10/2017 at 11:24PM

21
#33 - DHM / @DHM29978992

04/30/2018 at 07:38PM

21
#34 - Chester Yap / @Chest_ErYap

08/04/2019 at 07:12PM

22
#35 - Hubba / @HubbaBubbaFett

01/10/2013 at 09:14PM

22
#36 - Victor Ramirez / @virako

01/22/2013 at 04:10PM

22
#37 - Joel Elkins / @dice_tea

03/02/2013 at 11:22PM

22
#38 - _ky_ / @ultimate_ky

08/13/2013 at 08:19PM

22
#39 - やよい / @0x841

02/04/2017 at 06:11PM

22
#40 - makke_vn / @makke_vn

01/23/2019 at 06:01PM

23
#41 - Yann Moisan / @YannMoisan

01/12/2013 at 03:27PM

23
#42 - django unchained / @DjangoTuxg

01/18/2013 at 12:44AM

23
#43 - Nipunn Koorapati / @nipunn1313

01/21/2013 at 05:08AM

23
#44 - Taro Yamada / @t_yamada8karad

01/28/2013 at 06:58PM

23
#45 - Trevor Powell / @DoomedBunnies

01/29/2013 at 06:03AM

23
#46 - Niels Madan / @nielsmadan

02/01/2013 at 11:04AM

23
#47 - David Schoen / @neerolyte

02/10/2013 at 08:52AM

23
#48 - Kai Yuan / @kentyuan

02/21/2013 at 03:57PM

23
#49 - Vito / @GodFather

02/28/2013 at 08:19AM

23
#50 - Corey Glynn / @albedoa

04/08/2013 at 10:19PM

23
#51 - powertomato / @powertomato

07/08/2013 at 08:32PM

23
#52 - Quota / @Quotad

01/29/2014 at 09:53AM

23
#53 - Caek / @Caek_

08/11/2014 at 12:44AM

23
#54 - mark0829 / @mark0829

03/05/2015 at 06:56AM

23
#55 - Yann / @yannstad

03/07/2017 at 09:01PM

23
#56 - qed / @qed13308565

07/26/2018 at 01:53AM

23
#57 - tPenguinLTG / @tpenguinltg

02/26/2019 at 03:29AM

23
#58 - Cong / @Cong49294323

10/07/2020 at 12:06AM

24
#59 - Isaiah Damron / @Aenidye

01/12/2013 at 07:09AM

24
#60 - shpoont / @shpoont

02/05/2013 at 07:45AM