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

Simple Maths 2

Time to practice expression register! #maths #linear

Start file
34 5 13
26 7 8
21 6 6
16 14
13 11
11 10
9 8
8 7
End file
34 5 13
26 7 8
21 6 6
47 16 14
38 13 11
34 11 10
28 9 8
25 8 7

View Diff

4,8c4,8
< 16 14
< 13 11
< 11 10
< 9 8
< 8 7
---
> 47 16 14
> 38 13 11
> 34 11 10
> 28 9 8
> 25 8 7

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 15 remaining solutions by signing in and submitting your own entry
#16 mindgitrwx / @mindgitrwx - Score: 40 - 08/07/20 @ 13:15
3ji47 <Esc>j^i38 <Esc>jhhi34 <Esc>jhhi28 <Down><Left><Left><Left><Left>25 <Esc>ZZ

0 comments


Created by: @mcr05

16 active golfers, 44 entries

Leaderboard (lowest score wins):
17
#1 - Saki Gw / @Sakigw

06/11/2019 at 02:00PM

17
#2 - Jon Krause / @jkrause314

06/12/2019 at 06:22AM

17
#3 - John Braxler / @braxler

06/12/2019 at 12:27PM

17
#4 - Dan / @dstein64

08/16/2019 at 02:12AM

17
#5 - Aly Thobani / @alythobani

05/31/2024 at 12:59AM

17
#6 - nickGPT / @nickandbro

08/24/2024 at 03:10PM

17
#7 - Peppa Pig / @PeppaPi95550250

08/31/2024 at 07:35AM

21
#8 - Paul Draghicescu / @pdragy

06/10/2019 at 10:47PM

21
#9 - eshel / @EshelBM

11/16/2019 at 02:33PM

21
#10 - Sammit / @somemeatjain

02/05/2022 at 06:45PM

25
#11 - Matt / @mcr05

06/11/2019 at 06:04PM

32
#12 - 0xdaydream / @0xdaydream_

01/07/2023 at 11:52PM

32
#13 - MonkieeBoi / @MonkieeBoi

02/03/2024 at 11:38AM

33
#14 - 으앙 / @meri2727

10/11/2023 at 03:45PM

34
#15 - Even Stephen / @EvenStephen70

02/04/2021 at 08:54PM

40
#16 - mindgitrwx / @mindgitrwx

08/07/2020 at 01:15PM