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 54595b13128576000257a3c1

Basic renumbering

Renumbering Basic.

Start file
10 PRINT "The actual"
15 PRINT "code doesn't"
16 PRINT "really matter."
20 PRINT "Just take"
25 PRINT "care of"
30 PRINT "the numbers."
End file
10 PRINT "The actual"
20 PRINT "code doesn't"
30 PRINT "really matter."
40 PRINT "Just take"
50 PRINT "care of"
60 PRINT "the numbers."

View Diff

2,6c2,6
< 15 PRINT "code doesn't"
< 16 PRINT "really matter."
< 20 PRINT "Just take"
< 25 PRINT "care of"
< 30 PRINT "the numbers."
---
> 20 PRINT "code doesn't"
> 30 PRINT "really matter."
> 40 PRINT "Just take"
> 50 PRINT "care of"
> 60 PRINT "the numbers."

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 1029 remaining solutions by signing in and submitting your own entry
#1030 Dominic Z / @thammaaa - Score: 66 - 12/21/17 @ 12:59
<C-V>GI10<Esc><Esc><C-V>G<C-N><C-A><Esc>ugvgvv<C-A><Esc>uu<C-R><Right><Right><Esc>v<Down><Down><Down><Up><Up><Up><Esc><C-V><Down><Down><Down><Down><Down><Right>d<Left><Left><Down><C-V><Down><Down><Down><Down><C-A><Esc>u<C-V>Gg<C-V><C-A><Esc>u<C-V>Gg<C-A>ZZ

0 comments


Created by: @udioica

1030 active golfers, 4508 entries

Leaderboard (lowest score wins):
23
#811 - Geoff Gu / @geoff_gu

06/28/2015 at 12:02PM

23
#812 - Shizukesa / @Shizukesa

07/06/2015 at 10:05PM

23
#813 - Brandon Milam / @jbmilam950

07/09/2015 at 05:36PM

23
#814 - Jason Schulz / @uxcn_

07/24/2015 at 11:28PM

23
#815 - Roben Kleene / @robenkleene

07/30/2015 at 08:45PM

23
#816 - Henrik Lissner / @vnought

08/02/2015 at 08:40PM

23
#817 - gyermolenko / @gyermolenko_

08/14/2015 at 08:43AM

23
#818 - C H / @c7hde

08/27/2015 at 03:56PM

23
#819 - Jesse Atkinson / @jsatk

08/28/2015 at 12:51AM

23
#820 - vimgolf jonnyb / @vimgolf_jonnyb

09/10/2015 at 01:04PM

23
#821 - Stani Banani / @Stani_Banani

09/17/2015 at 09:40AM

23
#822 - Andrey / @androzhk

09/30/2015 at 05:04PM

23
#823 - Ilya / @evilguc

09/30/2015 at 05:14PM

23
#824 - Shobhit Gupta / @shobhitg

10/26/2015 at 06:33PM

23
#825 - Rene Tianco / @murlockslol

10/29/2015 at 12:24AM

23
#826 - SK Liew / @liewsk

11/05/2015 at 02:40AM

23
#827 - andrei / @CebotariAndrei

01/02/2016 at 10:03PM

23
#828 - Alexander Ryzhikov / @Coobaha

01/05/2016 at 09:17PM

23
#829 - Austin Wood / @indiesquidge

01/19/2016 at 05:43PM

23
#830 - Joy Gao / @joygao

01/28/2016 at 11:37PM

23
#831 - walter sullivan / @walters82208305

02/12/2016 at 03:26PM

23
#832 - Sebastian Pardo / @sebpardo

02/17/2016 at 10:56PM

23
#833 - Scott Traver / @ScottTraver

02/19/2016 at 04:44AM

23
#834 - Jaron Hamlik / @jdhamlik

02/27/2016 at 03:35AM

23
#835 - Jinzhou Zhang / @jinzhouz

03/08/2016 at 06:07AM

23
#836 - Lauren Scott / @devdame

03/28/2016 at 10:05PM

23
#837 - CM Déjardin ن / @CMDej

04/06/2016 at 07:37AM

23
#838 - Matteo Signer / @MatteoSigner

04/10/2016 at 08:47PM

23
#839 - Håkon Bråten / @h_braten

04/26/2016 at 04:14PM

23
#840 - Tommy Wu / @TommyJSWu

05/02/2016 at 04:04PM