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

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 67 remaining solutions by signing in and submitting your own entry
#68 huynhminhchu / @huynhminhchu - Score: 183 - 09/22/19 @ 08:44
A<C-R>=5+11+1<CR><Esc>jA<C-R>=8*2+1<CR>j<BS><Esc>jA<C-R>=100+99+1<CR><Esc>jA<C-R>=123+123+1<CR><Esc>jA<C-R>=4+4+2<CR><Esc>j.xxA<C-R>=12*9+2<CR>j<BS><Esc>jA<C-R>=1*3<CR><Esc>jA<C-R>=1*4<CR>j<BS><Esc>jA<C-R>=2*8<CR><Esc>jA<C-R>=2*3+2<BS>1<CR><Esc>jA<C-R>=2**8<CR>2<BS><C-R>=2*2*2*2*2*2*2*2<CR><Esc>jA<C-R><C-R>=256*2*2*2*2*2*2*2*2<CR><Esc>:wq<CR>

0 comments


Created by: @cherouvim

68 active golfers, 312 entries

Leaderboard (lowest score wins):
65
#61 - Nick Salesky / @NickSalesky

08/19/2022 at 03:36AM

65
#62 - 으앙 / @meri2727

10/11/2023 at 12:46PM

67
#63 - monts0311 / @monts0311

03/26/2021 at 06:27AM

68
#64 - Tuure / @tuure_p

03/22/2021 at 02:15AM

73
#65 - Alex Bartol / @alexbartol

09/12/2019 at 11:52PM

73
#66 - rr / @rodgeur31

10/25/2019 at 11:13PM

80
#67 - Aaron / @_Lordofthevoid_

11/26/2019 at 01:26PM

183
#68 - huynhminhchu / @huynhminhchu

09/22/2019 at 08:44AM