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 by @Ujjwol:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @mattiassicha

59 active golfers, 145 entries

Solutions by @Ujjwol:
24
#14 - Ujjwol Lamichhane / @Ujjwol

01/07/2011 at 10:49AM