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

calculations

Complete these (weird) calculations.

Start file
5+11+one=
8*2+one=
100+99+one=
123+123+one=
4+4+two=
12*9+two=
1+1+one=
one+one+one+one=
two*8=
two+two+one+two=
two*two*two*two*two*two*two*two=
two*two*two*two*two*two*two*two*two*two*two*two*two*two*two*two=
End file
5+11+one=17
8*2+one=17
100+99+one=200
123+123+one=247
4+4+two=10
12*9+two=110
1+1+one=3
one+one+one+one=4
two*8=16
two+two+one+two=7
two*two*two*two*two*two*two*two=256
two*two*two*two*two*two*two*two*two*two*two*two*two*two*two*two=65536

View Diff

1,12c1,12
< 5+11+one=
< 8*2+one=
< 100+99+one=
< 123+123+one=
< 4+4+two=
< 12*9+two=
< 1+1+one=
< one+one+one+one=
< two*8=
< two+two+one+two=
< two*two*two*two*two*two*two*two=
< two*two*two*two*two*two*two*two*two*two*two*two*two*two*two*two=
---
> 5+11+one=17
> 8*2+one=17
> 100+99+one=200
> 123+123+one=247
> 4+4+two=10
> 12*9+two=110
> 1+1+one=3
> one+one+one+one=4
> two*8=16
> two+two+one+two=7
> two*two*two*two*two*two*two*two=256
> two*two*two*two*two*two*two*two*two*two*two*two*two*two*two*two=65536

Solutions by @cherouvim:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @cherouvim

68 active golfers, 312 entries

Solutions by @cherouvim:
48
#45 - Ioannis Cherouvim / @cherouvim

09/11/2019 at 06:28PM

49
#>48 - Ioannis Cherouvim / @cherouvim

09/11/2019 at 08:07AM