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
#121 - aimee / @sermoa

01/09/2011 at 04:50PM

12
#122 - drio / @drio

01/10/2011 at 12:32AM

12
#123 - Wonha Ryu / @beingryu

01/11/2011 at 06:55AM

12
#124 - fuck you / @jerkassholeface

01/15/2011 at 12:32AM

12
#125 - Thomas Schönwälder / @Masei1988

01/15/2011 at 09:33PM

12
#126 - Federico Galassi / @federicogalassi

01/17/2011 at 06:31PM

12
#127 - jcmvbkbc / @jcmvbkbc

01/18/2011 at 09:29PM

12
#128 - Vladimir Parfinenko / @cypok

01/19/2011 at 06:16AM

12
#129 - Andrey A. Ugolnik / @andreyugolnik

01/19/2011 at 08:23PM

12
#130 - Oleg Roshupkin / @jjjahson

01/21/2011 at 04:24AM

12
#131 - xhtmlforum / @xhtmlforum

01/25/2011 at 08:01AM

12
#132 - Matthieu Honel / @ocus

01/28/2011 at 08:09AM

12
#133 - vg / @vimgolfer

01/28/2011 at 12:51PM

12
#134 - Joost / @vlabakje

02/11/2011 at 10:57PM

12
#135 - dschobel / @dschobel

02/20/2011 at 12:15AM

12
#136 - Eivind Jahren / @HaskellElephant

02/21/2011 at 05:19PM

12
#137 - Pavlo Klets / @p01nt

02/25/2011 at 10:58AM

12
#138 - Jeroen / @teranex

03/01/2011 at 11:03PM

12
#139 - Paweu1kZ nbNeyIhH / @yUQlwsFpRSzxJFh

03/06/2011 at 09:52PM

12
#140 - Andrew Dorman / @andydorman

03/21/2011 at 02:28PM

12
#141 - rabidpraxis / @rabidpraxis

03/24/2011 at 02:26AM

12
#142 - Beau Dacious / @nocash

03/24/2011 at 05:41PM

12
#143 - Thom Hughes / @thom_hughes_1

03/28/2011 at 09:31AM

12
#144 - Mathias Bynens  / @mathias

04/08/2011 at 09:58AM

12
#145 - Yannis Chatzimichos / @feedward

04/13/2011 at 12:21PM

12
#146 - Derrick Camerino / @robustdj

04/20/2011 at 08:47PM

12
#147 - sorami / @boredoms

05/01/2011 at 12:11AM

12
#148 - Ilya Strukov / @i1ey

05/02/2011 at 06:30AM

12
#149 - Ian McCowan / @valrus

05/29/2011 at 09:42PM

12
#150 - Márton Juhász / @juhasz

06/04/2011 at 08:23PM