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 248 remaining solutions by signing in and submitting your own entry
#249 Matthieu Crapet / mcr05 - Score: 12 - 05/16/15 @ 07:50
24@='Yp<C-A>'<CR>ZZ

0 comments


#250 aaron w / twyeAaron - Score: 12 - 05/29/15 @ 16:02
qaYp<C-A>q23@aZZ

0 comments


#251 David Stensland / DavidStensland - Score: 12 - 05/30/15 @ 09:47
qqYp<C-A>q23@qZZ

0 comments


#252 Clark DuVall / theclarkatron - Score: 12 - 05/30/15 @ 17:26
qqYp<C-A>q23@qZZ

0 comments


#253 David Nguyen / nguydavi - Score: 12 - 06/04/15 @ 09:05
qaYp<C-A>q23@aZZ

0 comments


#254 Lifepillar / lifepillar - Score: 12 - 06/27/15 @ 16:13
qqYp<C-A>q23@qZZ

0 comments


#255 Skúli Jóhannsson / skulibj - Score: 12 - 06/28/15 @ 18:38
qqYp<C-A>q23@qZZ

0 comments


#256 mark0829 / mark0829 - Score: 12 - 07/13/15 @ 07:51
qqYp<C-A>q23@qZZ

0 comments


#257 ltn614 / ltn614 - Score: 12 - 09/30/15 @ 09:02
qqYp<C-A>q23@qZZ

0 comments


#258 Jonas Nockert / lemonad - Score: 12 - 10/16/15 @ 06:51
qqYp<C-A>q23@qZZ

0 comments


#259 Gerald Tilma / GeraldTilma - Score: 12 - 11/07/15 @ 14:54
qqYp<C-A>q23@qZZ

0 comments


#260 Jonas Bergler / jbergler - Score: 12 - 11/16/15 @ 14:55
qqYp<C-A>q23@qZZ

0 comments


#261 marty / computerliker - Score: 12 - 11/28/15 @ 06:26
qqYp<C-A>q23@qZZ

0 comments


#262 Mendel Simon / agentms11 - Score: 12 - 12/07/15 @ 21:05
qaYp<C-A>q23@aZZ

0 comments


#263 Walker Boh / walker_boh - Score: 12 - 12/08/15 @ 10:23
qqYp<C-A>q23@qZZ

0 comments


#264 Connor Freeman / conrfrmn - Score: 12 - 02/24/16 @ 02:22
qqYp<C-A>q23@qZZ

0 comments


#265 Caleb Roberts / calebmail2012 - Score: 12 - 03/01/16 @ 21:11
qaYp<C-A>q23@aZZ

0 comments


#266 Smylers / Smylers2 - Score: 12 - 03/30/16 @ 21:36
qaYp<C-A>q23@aZZ

0 comments


#267 Lluís Mª Bosch / LluisMa - Score: 12 - 04/14/16 @ 23:13
qwYp<C-A>q23@wZZ

0 comments


#268 Joe Searle / artouk - Score: 12 - 05/02/16 @ 14:01
qqYp<C-A>q23@qZZ

0 comments


#269 Ben Hill / KaizenSoze70 - Score: 12 - 05/25/16 @ 12:42
qqYp<C-A>q23@qZZ

0 comments


#270 Eli Zucker / EliZucker - Score: 12 - 05/26/16 @ 17:15
qaYp<C-A>q23@aZZ

0 comments


#271 Will / obiwan__k3n00bi - Score: 12 - 08/11/16 @ 02:17
qqYp<C-A>q23@qZZ

0 comments


#272 Atrament / Atrament - Score: 12 - 08/20/16 @ 16:56
qqYp<C-A>q23@qZZ

0 comments


#273 F B / felixbigg - Score: 12 - 10/27/16 @ 15:26
qqYp<C-A>q23@qZZ

0 comments


#274 Emil Rönnbäck / emilronnback - Score: 12 - 10/29/16 @ 21:45
qqYp<C-A>q23@qZZ

0 comments


#275 KangHun Seo / shirano80 - Score: 12 - 11/27/16 @ 04:14
qqYp<C-A>q23@qZZ

0 comments


#276 MS / mislusnys - Score: 12 - 12/12/16 @ 20:15
qaYp<C-A>q23@aZZ

0 comments


#277 Durell Smith / durealest - Score: 12 - 02/21/17 @ 05:04
qqYp<C-A>q23@qZZ

0 comments


#278 Avijit Gupta / 526avijit - Score: 12 - 03/25/17 @ 04:52
qqYp<C-A>q23@qZZ

0 comments


#279 Daniel / Daniel00288663 - Score: 12 - 04/04/17 @ 10:25
qqYp<C-A>q23@qZZ

0 comments


#280 martin tourneboeuf / martintournebo1 - Score: 12 - 05/21/17 @ 10:30
qaYp<C-A>q23@aZZ

0 comments


#281 Gurukandhamoorthi / Gurukandhamoor1 - Score: 12 - 08/09/17 @ 15:31
qqYp<C-A>q23@qZZ

0 comments


#282 jn / j1357924 - Score: 12 - 08/24/17 @ 19:11
qqYp<C-A>q23@qZZ

0 comments


#283 Paul Draghicescu / pdragy - Score: 12 - 03/22/18 @ 22:47
qqYp<C-A>q23@qZZ

0 comments


#284 Gatlee / gatmek - Score: 12 - 05/06/18 @ 14:01
qqYp<C-A>q23@qZZ

0 comments


#285 DHM / DHM29978992 - Score: 12 - 05/15/18 @ 02:51
qqYp<C-A>q23@qZZ

0 comments


#286 Jerry / GarrisonwuJerry - Score: 12 - 06/13/18 @ 15:14
qaYp<C-A>q23@aZZ

0 comments


#287 Tommy Stanton / tommystanton - Score: 13 - 12/30/10 @ 17:56
qqyyp<C-A>q23@qZZ

0 comments


#288 Jacob Buys / wjbuys - Score: 13 - 12/30/10 @ 19:18
qqyyp<C-A>q23@qZZ

0 comments


#289 Paul Nicholson / paulnicholson - Score: 13 - 12/30/10 @ 20:23
qqyyp<C-A>q23@qZZ

0 comments


#290 Logical Partition / sdb9 - Score: 13 - 12/30/10 @ 21:15
qqyyp<C-A>q23@qZZ

0 comments


#291 Guillaume Bonnoron / gbonnoron - Score: 13 - 12/30/10 @ 22:01
qqyyp<C-A>q23@qZZ

0 comments


#292 Petr Blaho / petrblaho - Score: 13 - 12/31/10 @ 12:20
qayyp<C-A>q23@aZZ

0 comments


#293 Bjørn Fotland / bfotland - Score: 13 - 12/31/10 @ 16:03
qayyp<C-A>q23@aZZ

0 comments


#294 Brad Taylor / robotsasquatch - Score: 13 - 12/31/10 @ 17:27
qqyyp<C-A>q23@qZZ

0 comments


#295 Joe Hassick / jhassick - Score: 13 - 12/31/10 @ 19:41
qayyp<C-A>q23@aZZ

0 comments


#296 Thedward the Edward / thedward - Score: 13 - 01/01/11 @ 07:53
qqyyp<C-A>q23@qZZ

0 comments


#297 AD / golferTest101 - Score: 13 - 01/01/11 @ 15:47
qayyp<C-A>q23@aZZ

0 comments


#298 Daniel Grippi / danielgrippi - Score: 13 - 01/02/11 @ 00:40
qqYp<C-A>q23@q:x<CR>

0 comments


#299 Jan B. / bracki - Score: 13 - 01/05/11 @ 10:00
qqyyp<C-A>q23@qZZ

0 comments


#300 Raphael Sofaer / rsofaer - Score: 13 - 06/13/11 @ 02:34
qwyyp<C-A>q23@wZZ

0 comments


#301 William Hua / attente - Score: 13 - 07/17/11 @ 13:05
qayyp<C-A>q23@aZZ

0 comments


#302 Edan Sneh / edan_sneh - Score: 13 - 05/26/16 @ 17:18
 qaYp<C-A>q23@aZZ

0 comments


#303 Katie Kennedy / cappy_haddock - Score: 14 - 12/30/10 @ 19:14
qayyp<C-A>q23@a:x<CR>

0 comments


#304 Josh / karlw00t - Score: 14 - 12/31/10 @ 00:49
qqyyp<C-A>q23@q:x<CR>

0 comments


#305 themonkeybob11 / themonkeybob11 - Score: 14 - 06/16/15 @ 02:11
qqYp<C-A>q23@q:wq<CR>

0 comments


#306 Jonny Gerold / fsk141 - Score: 19 - 12/30/10 @ 17:50
qaYp<C-A>q23@a<Esc>x<Esc><Esc>u<Esc>:x<CR>

0 comments


#307 Simon C / happynoff - Score: 26 - 12/30/10 @ 21:37
o<Esc>23.:%s/^$/\=line('.')<CR>ZZ

0 comments


#308 Jonas Ng / jnshey - Score: 26 - 05/20/15 @ 09:17
yy24p:%s/\d/\=line('.')<CR>ZZ

0 comments


#309 Marian Schubert / MarianSchubert - Score: 27 - 12/30/10 @ 19:31
x24i<CR><Esc>:%s/^$/\=line('.')<CR>ZZ

0 comments


#310 Joel Taylor / joelteon_ - Score: 27 - 01/01/11 @ 04:37
x24i<CR><Esc>:%s/^$/\=line('.')<CR>ZZ

0 comments


#311 blizzow / blizzow - Score: 71 - 08/15/16 @ 22:08
s1<CR>2<CR>3<CR>4<CR>5<CR>6<CR>7<CR>8<CR>9<CR>10<CR>11<CR>12<CR>13<CR>14<CR>15<CR>16<CR>17<CR>18<CR>19<CR>20<CR>21<CR>22<CR>23<CR>24<CR>25<Esc>:wq<CR>

0 comments


Created by: rodmar_

311 active golfers, 442 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

12
#18 - Rodolphe Marques / rodmar_

12/30/2010 at 05:38PM

12
#19 - Aurélien Delahaye / alkove

12/30/2010 at 05:44PM

12
#20 - space for rent / raf_whispering

12/30/2010 at 05:44PM

12
#21 - h_east (トロッコ6個) / h_east

12/30/2010 at 05:47PM

12
#22 - scott / SetecAstronomy

12/30/2010 at 05:53PM

12
#23 - Johannes Martinsson / moxiba

12/30/2010 at 05:56PM

12
#24 - Josh Weinberg / jcweinberg

12/30/2010 at 05:56PM

12
#25 - Douglas Stockwell / dstockwell

12/30/2010 at 05:57PM

12
#26 - Stephen Morrow / yawmark

12/30/2010 at 06:00PM

12
#27 - Tom Adams / holizz

12/30/2010 at 06:12PM

12
#28 - James Wickett / wickett

12/30/2010 at 06:13PM

12
#29 - Jim Garvin / coderifous

12/30/2010 at 06:15PM

12
#30 - Jordan Lewis / JordanALewis

12/30/2010 at 06:18PM