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 159 remaining solutions by signing in and submitting your own entry
#160 したろう / @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

160 active golfers, 465 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

18
#18 - Hachez Floran / @FloranHachez

09/03/2013 at 08:13PM

21
#19 - Kurt Robert Rudolph / @krudolph9

01/10/2013 at 08:31PM

21
#20 - Joonas Pihlajamaa / @jokkebk

02/24/2014 at 04:45PM

21
#21 - Pedro Santos / @pedrosans

03/25/2014 at 09:11PM

21
#22 - LC / @leeren

08/10/2014 at 09:01PM

21
#23 - たかっぷ / @takapp

09/18/2015 at 04:46AM

21
#24 - Dimitar Dimitrov / @kurkale6ka

04/11/2016 at 03:22PM

21
#25 - martin tourneboeuf / @martintournebo1

05/21/2017 at 12:22PM

21
#26 - やま / @K6rzv7URxtE6CFy

06/12/2017 at 07:15AM

21
#27 - tom patterson / @pattertom

08/10/2017 at 11:24PM

21
#28 - DHM / @DHM29978992

04/30/2018 at 07:38PM

22
#29 - Hubba / @HubbaBubbaFett

01/10/2013 at 09:14PM

22
#30 - Victor Ramirez / @virako

01/22/2013 at 04:10PM