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):
40
#31 - Simon / @SimontheLeg

09/13/2019 at 02:38PM

40
#32 - Mario Olofo / @mario_olofo

10/19/2019 at 11:45PM

40
#33 - yousef Ibrahim / @YucefIbrahim

10/25/2019 at 01:03PM

40
#34 - Gregory Furter / @gfurter

10/25/2019 at 07:20PM

40
#35 - galanaki / @galanaki

11/22/2019 at 08:46AM

40
#36 - countime / @countime1

03/13/2020 at 08:06AM

41
#37 - Alan Martins Silva / @alanfortlink

09/12/2019 at 06:28PM

41
#38 - J̻̕ͅo̠̻̘h̼̖n̙̩̝͕ D̹̗̗͝oe̶̱̥͙ / @JohnJDoe2

09/17/2019 at 09:09AM

42
#39 - Bennett / @bennettbackward

09/11/2019 at 09:11AM

44
#40 - Walker Boh / @walker_boh

09/11/2019 at 09:00AM

46
#41 - Miko / @_m_ik_o_

09/24/2019 at 08:48PM

47
#42 - Levi Wheeler / @LeviWhe68726437

06/14/2022 at 09:20PM

47
#43 - nickGPT / @nickandbro

08/24/2024 at 02:10PM

48
#44 - louis / @LouisJordan

09/11/2019 at 02:23PM

48
#45 - Ioannis Cherouvim / @cherouvim

09/11/2019 at 06:28PM

48
#46 - Abnermtj / @Abnerjr19

09/13/2019 at 10:55AM

48
#47 - Thomas Edlich / @grumpybavarian

09/28/2019 at 12:18PM

48
#48 - Swaraj Dash / @swarajdash_

11/15/2021 at 05:19PM

50
#49 - RockerZZY / @rocker_zzy

06/08/2020 at 11:43PM

52
#50 - Sam O'Malley / @Samuel_OMalley

10/12/2019 at 04:14AM

59
#51 - averageRandomPerson / @averageRandomP1

09/14/2019 at 04:00AM

60
#52 - Norbert / @mullno

09/11/2019 at 04:46PM

60
#53 - Khamnhoui-Boulom / @k_nhoui

09/16/2019 at 02:47PM

60
#54 - blub / @agorilladriving

09/17/2019 at 02:10PM

61
#55 - vicver09 / @vicver091

10/29/2019 at 01:52PM

61
#56 - Izaak van Dongen / @goedel_gang

12/01/2019 at 11:41PM

61
#57 - Fake Konto / @F4k3K0n70

02/14/2021 at 05:05PM

62
#58 - Ariel Miculas / @ArielMiculas

09/18/2019 at 04:33PM

62
#59 - Jason / @roosjason

05/31/2020 at 05:51AM

64
#60 - pysnow530 / @pysnow530

11/21/2019 at 05:54AM