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 57 remaining solutions by signing in and submitting your own entry
#58 じょんあば / @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


#59 nickGPT / @nickandbro - Score: 445 - 08/28/24 @ 23:21
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

59 active golfers, 145 entries

Leaderboard (lowest score wins):
25
#31 - dominique pellé / @vimgolfisto

01/06/2011 at 10:28AM

26
#32 - Mattiassich Ákos / @mattiassicha

01/05/2011 at 03:39PM

26
#33 - Matthew Draper / @_matthewd

01/05/2011 at 05:17PM

26
#34 - not so punk :] / @notsopunk

06/19/2011 at 09:41AM

26
#35 - Dave / @zzdave13

07/25/2011 at 07:46AM

26
#36 - Trevor Powell / @DoomedBunnies

03/20/2013 at 05:01AM

27
#37 - Tim Chase / @gumnos

01/05/2011 at 03:31PM

27
#38 - h_east (トロッコ6個) / @h_east

02/05/2011 at 04:09PM

27
#39 - Justin Knag / @justinknag

10/10/2014 at 06:25AM

28
#40 - tmr / @tmr314

09/10/2012 at 02:43PM

28
#41 - Joonas Pihlajamaa / @jokkebk

02/23/2014 at 09:15PM

28
#42 - Saki Gw / @Sakigw

12/11/2016 at 05:45PM

29
#43 - Jim Garvin / @coderifous

01/05/2011 at 03:01PM

30
#44 - Øystein Walle / @oysteinwalle

07/07/2011 at 09:57AM

30
#45 - Gowtham Madhava / @gowthamgowtham

07/02/2012 at 04:37PM

31
#46 - Steve Morrow / @yawmark

01/05/2011 at 02:58PM

31
#47 - Asmund / @herrasbe

01/06/2011 at 09:31PM

31
#48 - James / @Dronak

09/24/2014 at 03:26AM

32
#49 - Henrik Nyh / @henrik

01/05/2011 at 02:50PM

32
#50 - Francisco Dibar / @frandibar

01/11/2011 at 12:28AM

33
#51 - Michael Spradling / @M1Sports20

01/12/2011 at 04:43AM

38
#52 - russellzhaomao / @russellzhaomao

06/03/2022 at 12:58PM

42
#53 - Pete Johns / @johnsyweb

01/05/2011 at 09:22PM

46
#54 - shahanavaz m / @shahanavazm

02/16/2022 at 06:09AM

75
#55 - Vincent Cogne / @vincentcogne

01/05/2011 at 03:30PM

91
#56 - weixiaobaoL / @weixiaobaoL

01/03/2024 at 07:34AM

94
#57 - Oliver Christ / @0liverChrist

11/04/2013 at 01:04PM

445
#58 - じょんあば / @john_ababa

02/26/2012 at 07:41AM

445
#59 - nickGPT / @nickandbro

08/28/2024 at 11:21PM