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 95 remaining solutions by signing in and submitting your own entry
#96 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

96 active golfers, 243 entries

Leaderboard (lowest score wins):
39
#91 - kungfuchad / @kungfuchad

11/19/2014 at 07:52PM

41
#92 - Matti Sairanen / @MattiSairanen

07/14/2017 at 11:38AM

42
#93 - AC / @quadface

10/03/2014 at 07:39PM

47
#94 - Oliver Christ / @0liverChrist

09/19/2014 at 01:14PM

61
#95 - bluehat / @b1u3h4t

09/17/2014 at 03:37PM

67
#96 - luffy / @raxcoi

01/26/2015 at 02:36PM