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 4d247aa50947c63e260000a4

Happy New Year!

This is a simple new year's challenge.

Start file
Happy New Year!
End file
<H>  72,  Hex 48,  Octal 110
<a>  97,  Hex 61,  Octal 141
<p>  112,  Hex 70,  Octal 160
<p>  112,  Hex 70,  Octal 160
<y>  121,  Hex 79,  Octal 171
< >  32,  Hex 20,  Octal 040
<N>  78,  Hex 4e,  Octal 116
<e>  101,  Hex 65,  Octal 145
<w>  119,  Hex 77,  Octal 167
< >  32,  Hex 20,  Octal 040
<Y>  89,  Hex 59,  Octal 131
<e>  101,  Hex 65,  Octal 145
<a>  97,  Hex 61,  Octal 141
<r>  114,  Hex 72,  Octal 162
<!>  33,  Hex 21,  Octal 041

View Diff

1c1,15
< Happy New Year!
---
> <H>  72,  Hex 48,  Octal 110
> <a>  97,  Hex 61,  Octal 141
> <p>  112,  Hex 70,  Octal 160
> <p>  112,  Hex 70,  Octal 160
> <y>  121,  Hex 79,  Octal 171
> < >  32,  Hex 20,  Octal 040
> <N>  78,  Hex 4e,  Octal 116
> <e>  101,  Hex 65,  Octal 145
> <w>  119,  Hex 77,  Octal 167
> < >  32,  Hex 20,  Octal 040
> <Y>  89,  Hex 59,  Octal 131
> <e>  101,  Hex 65,  Octal 145
> <a>  97,  Hex 61,  Octal 141
> <r>  114,  Hex 72,  Octal 162
> <!>  33,  Hex 21,  Octal 041

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 53 remaining solutions by signing in and submitting your own entry
#54 無ん垢の叫び / @john_ababa - Score: 445 - 02/26/12 @ 07:41
C<H>  72,  Hex 48,  Octal 110<CR><a>  97,  Hex 61,  Octal 141<CR><p>  112,  Hex 70,  Octal 160<CR><p>  112,  Hex 70,  Octal 160<CR><y>  121,  Hex 79,  Octal 171<CR>< >  32,  Hex 20,  Octal 040<CR><N>  78,  Hex 4e,  Octal 116<CR><e>  101,  Hex 65,  Octal 145<CR><w>  119,  Hex 77,  Octal 167<CR>< >  32,  Hex 20,  Octal 040<CR><Y>  89,  Hex 59,  Octal 131<CR><e>  101,  Hex 65,  Octal 145<CR><a>  97,  Hex 61,  Octal 141<CR><r>  114,  Hex 72,  Octal 162<CR><!>  33,  Hex 21,  Octal 041<Esc>ZZ

0 comments


Created by: @mattiassicha

54 active golfers, 129 entries

Leaderboard (lowest score wins):
22
#1 - Urtica dioica / @udioica

07/04/2012 at 03:57PM

22
#2 - John Braxler / @braxler

09/10/2014 at 10:23PM

22
#3 - Jon Krause / @jkrause314

01/30/2016 at 09:13AM

22
#4 - trx / @trxdbg

10/18/2016 at 01:45AM

22
#5 - ParasamGateZero / @ParasamGateZero

01/27/2018 at 01:09AM

23
#6 - Kerson Hsiao / @KersonHsiao

01/15/2013 at 11:05AM

24
#7 - derp derp / @derp__

01/05/2011 at 04:25PM

24
#8 - ls lahrs / @lslah

01/05/2011 at 10:13PM

24
#9 - Ricardo Mendes / @locks

01/06/2011 at 06:10AM

24
#10 - Wei Dai / @clvv42

01/06/2011 at 09:49AM

24
#11 - Fer Enaf / @0x00C0FFEE

01/06/2011 at 10:09AM

24
#12 - Kevin Merlin / @mp3merlin

01/06/2011 at 04:57PM

24
#13 - Ujjwol Lamichhane / @Ujjwol

01/07/2011 at 10:49AM

24
#14 - Federico Galassi / @federicogalassi

01/07/2011 at 06:42PM

24
#15 - Mindaugas Mozūras / @mmozuras

01/07/2011 at 08:43PM

24
#16 - David Duponchel / @dduponchel

01/08/2011 at 06:33PM

24
#17 - Agus Lopez / @aguslr

01/11/2011 at 12:32AM

24
#18 -  Ikhsan Maulana / @ixandidu

01/15/2011 at 09:16AM

24
#19 - Thomas Schönwälder / @Masei1988

01/15/2011 at 04:23PM

24
#20 - drio / @drio

01/17/2011 at 11:39AM

24
#21 - Oleg Roshupkin / @jjjahson

01/21/2011 at 06:48AM

24
#22 - vg / @vimgolfer

03/02/2011 at 04:00PM

24
#23 - Raeez / @raeez

04/14/2011 at 04:45AM

24
#24 - Dragan Cvetinovic / @kawkafi

05/09/2011 at 07:13PM

24
#25 - Hu Junfeng / @junfeng

07/29/2011 at 01:04PM

24
#26 - Justin Love / @wondible

08/22/2011 at 05:10PM

24
#27 - William Dunand / @wdunand

11/17/2011 at 01:11AM

24
#28 - You-Siang Lin / @yslinnctu

12/05/2011 at 12:56AM

24
#29 - Marco Hinz / @_mhinz_

05/18/2013 at 05:05PM

25
#30 - dominique pellé / @vimgolfisto

01/06/2011 at 10:28AM