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 5c221a61dd9c0e0006c8e15f

Santa's naughty / nice list

Christmas is here and Santa hasn't decided who's naughty or nice yet. He's given a list of names to his programmer friend to quickly split the children into naughty and nice. Hint: There's a hidden pattern that might be familiar.

Start file
Ayden
Jayden
Linnett
Sam
Zooey
Wyn
Winter
Wynne
Madelyn
Michael
Jessica
Thomas
Olivia
Maria
Julia
Aaron
Iris
Adrian
Nathaniel
Alice
Margaret
Miranda
Oliver
Philip
Phoebe
Marcus
Arthur
Tatiana
Robin
Ophelia
End file
nice Ayden
nice Jayden
naughty Linnett
nice Sam
naughty Zooey
naughty Wyn
nice Winter
nice Wynne
naughty Madelyn
naughty Michael
nice Jessica
naughty Thomas
nice Olivia
nice Maria
naughty Julia
nice Aaron
nice Iris
naughty Adrian
nice Nathaniel
naughty Alice
naughty Margaret
nice Miranda
nice Oliver
naughty Philip
naughty Phoebe
nice Marcus
naughty Arthur
nice Tatiana
nice Robin
naughty Ophelia

View Diff

1,30c1,30
< Ayden
< Jayden
< Linnett
< Sam
< Zooey
< Wyn
< Winter
< Wynne
< Madelyn
< Michael
< Jessica
< Thomas
< Olivia
< Maria
< Julia
< Aaron
< Iris
< Adrian
< Nathaniel
< Alice
< Margaret
< Miranda
< Oliver
< Philip
< Phoebe
< Marcus
< Arthur
< Tatiana
< Robin
< Ophelia
---
> nice Ayden
> nice Jayden
> naughty Linnett
> nice Sam
> naughty Zooey
> naughty Wyn
> nice Winter
> nice Wynne
> naughty Madelyn
> naughty Michael
> nice Jessica
> naughty Thomas
> nice Olivia
> nice Maria
> naughty Julia
> nice Aaron
> nice Iris
> naughty Adrian
> nice Nathaniel
> naughty Alice
> naughty Margaret
> nice Miranda
> nice Oliver
> naughty Philip
> naughty Phoebe
> nice Marcus
> naughty Arthur
> nice Tatiana
> nice Robin
> naughty Ophelia

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 22 remaining solutions by signing in and submitting your own entry
#23 pankaj singh / @pankajsingh013 - Score: 93 - 01/08/19 @ 22:34
:%s/^/nice /gc<CR>yynynnyynnynyynyynynnyynnynyyn:<Up><Left><Left><Left><Left><BS><BS><BS>aughty<CR>nnynyynnyynynnynnynyynnyynynnyZZ

0 comments


Created by: @bennettbackward

23 active golfers, 77 entries

Leaderboard (lowest score wins):
39
#1 - John Braxler / @braxler

12/31/2018 at 09:33PM

39
#2 - Smylers / @Smylers2

01/19/2019 at 09:59PM

39
#3 - Turkey Man / @lvturkeyman

02/25/2019 at 08:57AM

39
#4 - Ivo Blöchliger / @aigledesalpes

08/23/2019 at 04:09PM

39
#5 - Miłosz Łakomy / @foobar01123

02/25/2020 at 02:41PM

42
#6 - Julien Harbulot / @julienharbulot

12/27/2018 at 12:53AM

42
#7 - Jean George / @JeanGeo20504212

01/05/2022 at 09:41PM

43
#8 - rye bread / @theryangeary

12/26/2018 at 01:54AM

43
#9 - majo senf / @majo_senf

06/25/2019 at 03:24PM

44
#10 - tPenguinLTG / @tpenguinltg

12/25/2018 at 10:40PM

44
#11 - TimMcGuire / @mcguire

12/26/2018 at 03:50PM

45
#12 - Marty Boren / @beanmaximalist

12/27/2018 at 10:10PM

46
#13 - Slawek Ligus / @ooz_ie

12/27/2018 at 05:44AM

46
#14 - Jan Liu / @Jagsomarjan

12/29/2018 at 08:51PM

49
#15 - daniel / @daniel31464605

12/28/2018 at 07:57AM

51
#16 - Jon Krause / @jkrause314

12/25/2018 at 05:21PM

57
#17 - abgalphabet / @abgalphabet

01/25/2019 at 02:17PM

57
#18 - Mateen Ulhaq / @sicariusnoctis

02/13/2019 at 07:14AM

57
#19 - albalitz / @_albalitz

06/14/2019 at 12:38PM

58
#20 - Sebastien Nicoud / @sebnukem

12/26/2018 at 01:43AM

58
#21 - omrisarig / @omrisarig

12/27/2018 at 08:59AM

58
#22 - Jose Villalta 👨‍💻 / @PhilosoGeekDad

12/27/2018 at 04:09PM

93
#23 - pankaj singh / @pankajsingh013

01/08/2019 at 10:34PM