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 336 remaining solutions by signing in and submitting your own entry
#337 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_

337 active golfers, 493 entries

Leaderboard (lowest score wins):
12
#241 - i5513 / @i5513

09/12/2014 at 10:22PM

12
#242 - Johannes H. / @neVexa

09/23/2014 at 03:49PM

12
#243 - Roy Vim / @RoyVim

09/24/2014 at 07:38PM

12
#244 - Jose Gutierrez / @Jogusa

10/22/2014 at 08:28PM

12
#245 - asd fsdf / @totallythr

10/30/2014 at 02:51AM

12
#246 - Alexander Kaloshin / @undassa_

11/06/2014 at 10:02PM

12
#247 - Samuel Masuy / @samasuy

11/14/2014 at 11:41PM

12
#248 - yachi / @yaachi

12/31/2014 at 07:42AM

12
#249 - Ben LeMasurier / @lemasurier

02/01/2015 at 01:03AM

12
#250 - Michael Giuffrida / @mgiuffrida

02/20/2015 at 03:54AM

12
#251 - Jake Eaton / @Jake__Eaton

02/28/2015 at 07:23AM

12
#252 - Oliver Christ / @0liverChrist

02/28/2015 at 10:24PM

12
#253 - Charles A. Bouffard / @the_cabouffard

04/04/2015 at 04:56AM

12
#254 - Niels Madan / @nielsmadan

04/10/2015 at 01:26PM

12
#255 - James Baird / @jlbaird3

05/04/2015 at 02:38AM

12
#256 - Roman Zolotarev / @romanzolotarev

05/12/2015 at 11:50PM

12
#257 - Olivier Debon / @OlivierSwift

05/13/2015 at 07:24AM

12
#258 - Hendrik Lammers / @hendriklammers

05/14/2015 at 04:29AM

12
#259 - Matt / @mcr05

05/16/2015 at 07:50AM

12
#260 - aaron w / @twyeAaron

05/29/2015 at 04:02PM

12
#261 - David Stensland / @DavidStensland

05/30/2015 at 09:47AM

12
#262 - Clark DuVall / @theclarkatron

05/30/2015 at 05:26PM

12
#263 - David Nguyen / @nguydavi

06/04/2015 at 09:05AM

12
#264 - Lifepillar / @lifepillar

06/27/2015 at 04:13PM

12
#265 - Skúli Jóhannsson / @skulibj

06/28/2015 at 06:38PM

12
#266 - mark0829 / @mark0829

07/13/2015 at 07:51AM

12
#267 - ltn614 / @ltn614

09/30/2015 at 09:02AM

12
#268 - Jonas Nockert / @lemonad

10/16/2015 at 06:51AM

12
#269 - Gerald Tilma / @GeraldTilma

11/07/2015 at 02:54PM

12
#270 - Jonas Bergler / @jbergler

11/16/2015 at 02:55PM