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 54180e031079d30002383ee5

vim1001

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

Start file
1001
End file
vim1001
vim1005
vim1011
vim1015
vim1021
vim1025
vim1031
vim1035
vim1041
vim1045

View Diff

1c1,10
< 1001
---
> vim1001
> vim1005
> vim1011
> vim1015
> vim1021
> vim1025
> vim1031
> vim1035
> vim1041
> vim1045

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 73 remaining solutions by signing in and submitting your own entry
#74 Chaitanya Desu / ChaituNu - Score: 26 - 09/21/14 @ 01:18
ivim<Esc>Yp4<C-A>qqykjp10<C-A>j.q3@qZZ

0 comments


#75 vim doof / vimdoof - Score: 26 - 10/07/14 @ 16:05
qqYp4<C-A>Yp6<C-A>q4@qdd<C-V>ggIvim<Esc>ZZ

0 comments


#76 Gerald Tilma / GeraldTilma - Score: 26 - 10/21/15 @ 02:43
ivim<Esc>Yp4<C-A>qqykjp10<C-A>j.q3@qZZ

0 comments


#77 barak happy / barakhaviv - Score: 26 - 06/29/16 @ 14:26
qqYp4<C-A>Yp6<C-A>q4@qdd<C-V>ggIvim<Esc>ZZ

0 comments


#78 RobertT / techrt2050 - Score: 27 - 09/17/14 @ 14:49
Ivim<Esc>qqyyp4<C-A>yyp6<C-A>q4@qdd<C-Z><C-Z>ZZ

0 comments


#79 Matt Richards / _tthew - Score: 27 - 09/19/14 @ 13:28
<Esc>ivim<Esc>Yp4<C-A>qqykjp10<C-A>j.q3@qZZ

0 comments


#80 Omid Houshyar / ohoushyar - Score: 27 - 09/22/14 @ 10:13
ivim<Esc>yyp4<C-A>qqkyyjp10<C-A>q7@q:x<CR>

0 comments


#81 simonced / simonced - Score: 27 - 09/27/14 @ 13:30
ivim<Esc>Yp4<C-A>qqk2Yjp10<C-A>j.q3@qZZ

0 comments


#82 Guillaume ALAUX / megalaux - Score: 29 - 09/28/14 @ 21:49
ivim<Esc>Yp4<C-A>qqVkyjp10<C-A>j10<C-A>q3@qZZ

0 comments


#83 Dmitry Teslenko / krab_mozga - Score: 30 - 09/23/14 @ 08:06
ivim<Esc>yyp4<C-A>kqqy2yjp10<C-A>j.kq3@qZZ

0 comments


#84 Carlos López / morrizon - Score: 31 - 09/16/14 @ 11:55
ivim<Esc>qqYp$r5qqaYp$x<C-A>A1<Esc>@qq3@aZZ

0 comments


#85 Glauco Pires / grpires - Score: 31 - 11/25/14 @ 19:45
ivim<Esc>Yp$4<C-A>qqk2Yjp$10<C-A>j10<C-A>q3@qZZ

0 comments


#86 j00b00 / j00b00 - Score: 36 - 09/19/14 @ 00:29
qqyyp<C-A><C-A><C-A><C-A>yyp<C-A><C-A><C-A><C-A><C-A><C-A>q4@qdd:%s/^/vim<CR>ZZ

0 comments


#87 kungfuchad / kungfuchad - Score: 39 - 11/19/14 @ 19:52
ivim<Esc>Yp$r5yk4P3G5lr1j.jr2j.jr3j.jr4j.ZZ

0 comments


#88 Matti Sairanen / MattiSairanen - Score: 41 - 07/14/17 @ 11:38
ivim<Esc>yyPj4<C-A>k2yyG4p$hr1j.jr2j.jr3j.jr4j.ZZ

0 comments


#89 AC / quadface - Score: 42 - 10/03/14 @ 19:39
ivim<Esc>yyp$r5VkyGpu4p$hr1j.jr2j.jr3j.jr4j.ZZ

0 comments


#90 Oliver Christ / 0liverChrist - Score: 47 - 09/19/14 @ 13:14
yyp4<C-A>Vky4P<C-V>GIvim<Esc>jj<End>hR1<Down><Left>1<Down><Left>2<Down><Left>2<Down><Left>3<Down><Left>3<Down><Left>4<Down><Left>4<Esc>ZZ

0 comments


#91 bluehat / b1u3h4t - Score: 61 - 09/17/14 @ 15:37
iVIM<BS><BS><BS>vim<Esc>yy9p$r52j.2j.2j.2j.blllllr4k.kkr3j.kkr2k.kr2r1k.ZZ

0 comments


#92 luffy / raxcoi - Score: 67 - 01/26/15 @ 14:36
ivim<Esc>yy4p:%s/00/p<BS>\=printf('0%d',pr<BS><BS>line('.')-1)<CR>ggqqyyp$r5jq4@qZZ

0 comments


Created by: kentyuan

92 active golfers, 219 entries

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

03/30/2016 at 11:03AM

17
#2 - Turkey Man / lvturkeyman

11/27/2017 at 03:30PM

17
#3 - DHM / DHM29978992

05/20/2018 at 01:03AM

19
#4 - John Braxler / braxler

10/14/2015 at 03:48PM

20
#5 - Jon Krause / jkrause314

03/05/2016 at 10:04PM

21
#6 - Kai Yuan / kentyuan

09/16/2014 at 01:48PM

21
#7 - Michael Comerford / MComerford1

09/16/2014 at 06:16PM

21
#8 - John Meisner / jmeisned

09/16/2014 at 08:43PM

21
#9 - Kerson Hsiao / KersonHsiao

09/17/2014 at 12:12PM

21
#10 - Mattias Fransson / azzidoos

09/17/2014 at 08:16PM

21
#11 - Caek / Caek_

09/18/2014 at 02:45AM

21
#12 - Petro Тrouq / zulolosi

09/18/2014 at 05:29AM

21
#13 - joomy / cattheory

09/18/2014 at 06:54PM

21
#14 - Bart / oneofmanybarts

09/19/2014 at 07:48AM

21
#15 - preston / mstrdarcy

09/19/2014 at 07:00PM

21
#16 - julesferreira / julesferreira

09/19/2014 at 08:50PM

21
#17 - Aaron Fresh / AaronFresh7

09/19/2014 at 09:04PM

21
#18 - Charles H. Leggett / cleggett

09/20/2014 at 01:55AM

21
#19 - Bill Booth / ohiopyle

09/21/2014 at 06:23AM

21
#20 - Alexandre Ignjatovic / bankair

09/21/2014 at 09:28AM

21
#21 - Jakob / jajob

09/22/2014 at 05:45PM

21
#22 - Daniel Burnett / mango_cheetah

10/10/2014 at 01:02AM

21
#23 - Ivan Brennan / ivanbrennan

12/07/2014 at 01:28AM

21
#24 - Jake Eskel / JakeEskel

12/31/2014 at 05:33AM

21
#25 - ~Nicolas_Poulain / nicolaspoulain

01/29/2015 at 10:22PM

21
#26 - pftb12345 / pftb12345

04/04/2015 at 12:29PM

21
#27 - Adrian Krehl / akrehl

06/30/2015 at 02:03PM

21
#28 - Lifepillar / lifepillar

07/05/2015 at 03:58PM

21
#29 - Joey / joeyism101

09/11/2015 at 01:27AM

21
#30 - Walker Boh / walker_boh

10/13/2015 at 08:47AM