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 4d1cc35a35b40650b800043a

Increment, increment, increment....

Vim likes macros

Start file
1
End file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

View Diff

1a2,25
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> 11
> 12
> 13
> 14
> 15
> 16
> 17
> 18
> 19
> 20
> 21
> 22
> 23
> 24
> 25

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 337 remaining solutions by signing in and submitting your own entry
#338 dixrow / @dixrow1 - Score: 112 - 10/22/19 @ 10:16
a<CR>2<CR>3<CR>4<CR>5<CR>6<CR>7<CR>8<CR>9<Esc>vggyGpi<CR><Esc>i1<Esc>j.j.j.j.j.j.j.j.<Esc>kkkkkkkkkkjjO10<Esc>jjjjjjjjjjjjjo<Esc>pi20<CR>2<BS><Esc>i2<Esc>j.j.j.j.j<Esc>dddddddd<Esc>:wq<CR>

0 comments


Created by: @rodmar_

338 active golfers, 494 entries

Leaderboard (lowest score wins):
10
#1 - Urtica dioica / @udioica

06/25/2015 at 06:06PM

10
#2 - Elizabeth / @sprinkles418

07/17/2015 at 02:05AM

10
#3 - kris / @0xkrp

11/13/2015 at 01:06PM

10
#4 - Mathias / @wizhie

01/15/2016 at 08:39PM

10
#5 - Jon Krause / @jkrause314

01/18/2016 at 08:49PM

10
#6 - Ralf Haffa / @fatslo

02/27/2016 at 10:35PM

10
#7 - Tom Harada / @p10q

04/25/2016 at 05:44AM

10
#8 - Ikypiky / @nerdbeereis

06/15/2016 at 09:14PM

10
#9 - Peter Brynza / @v3_1

08/28/2016 at 07:34PM

10
#10 - Bowen Masco / @codingfoo

09/16/2016 at 08:15PM

10
#11 - 子皓翁 / @geniusgordon

10/25/2016 at 09:06AM

10
#12 - Jim Bob / @babyclubber

02/28/2017 at 12:16AM

10
#13 - Anthony George / @Xanuthatusu

06/19/2017 at 07:23PM

10
#14 - Turkey Man / @lvturkeyman

11/28/2017 at 06:04AM

10
#15 - Thomas Royer / @Cydonia7

03/11/2018 at 01:33AM

10
#16 - Evgeny`s Kindle / @EvgenyKindle

04/24/2018 at 09:29AM

10
#17 - Rui Su / @RuiSuTwi

05/04/2018 at 09:34PM

10
#18 - NOT Takinashi / @TaleLore

06/24/2018 at 03:20AM

10
#19 - slicklash / @slicklash

06/28/2018 at 12:26PM

10
#20 - Micheal Wells / @michealwwells

08/10/2018 at 05:36PM

10
#21 - Epecb / @BceEpecb

09/03/2018 at 07:46PM

10
#22 - John Braxler / @braxler

09/28/2018 at 01:31PM

10
#23 - Eric Moss / @NotEricMoss

11/05/2018 at 02:18PM

10
#24 - Timur Celik / @clktmr

12/22/2018 at 12:27AM

10
#25 - Mihai / @mihaicristiant

03/18/2019 at 08:48AM

10
#26 - Leiser Fernández / @leiserfg

05/18/2019 at 06:37PM

10
#27 - Nick Yeow / @nickyeow

05/22/2019 at 01:41PM

10
#28 - deurzen / @devrzen

06/06/2019 at 01:28PM

12
#29 - Rodolphe Marques / @rodmar_

12/30/2010 at 05:38PM

12
#30 - Aurélien Delahaye / @alkove

12/30/2010 at 05:44PM