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

1051 active golfers, 4578 entries

Leaderboard (lowest score wins):
23
#811 - Madelaine G / @mmarchin

02/11/2015 at 03:27PM

23
#812 - d1uckym d1uckym / @d1uckym

02/15/2015 at 07:22PM

23
#813 - Rob Wise / @RobAWise

02/16/2015 at 08:52AM

23
#814 - Thomas Brisbout / @le_briz

02/17/2015 at 03:13PM

23
#815 - Dmitry Zudochkin / @zudochkin

02/17/2015 at 08:09PM

23
#816 - Jeffrey Gu / @Jeffrey_Gu

03/17/2015 at 05:16PM

23
#817 - Oleg Alfalfa / @6alfalfa9

03/20/2015 at 05:35PM

23
#818 - ɐʇnɥsɐpoʇ / @todashuta

03/25/2015 at 01:44PM

23
#819 - Benny Wong / @bdotdub

04/02/2015 at 06:23PM

23
#820 - ryo_n / @ryo_n

04/04/2015 at 09:35AM

23
#821 - Hendrik Lammers / @hendriklammers

04/19/2015 at 08:51PM

23
#822 - Michael Cramer / @mlcramer

04/25/2015 at 02:21PM

23
#823 - Joel Gallant / @joelg236

05/20/2015 at 12:49AM

23
#824 - Marco Antognini / @MrHiura

05/30/2015 at 04:50PM

23
#825 - raghu erapaneedi / @raghue9

06/19/2015 at 01:57PM

23
#826 - Paul / @MapCalculator

06/23/2015 at 12:01AM

23
#827 - Geoff Gu / @geoff_gu

06/28/2015 at 12:02PM

23
#828 - Shizukesa / @Shizukesa

07/06/2015 at 10:05PM

23
#829 - Brandon Milam / @jbmilam950

07/09/2015 at 05:36PM

23
#830 - Jason Schulz / @uxcn_

07/24/2015 at 11:28PM

23
#831 - Roben Kleene / @robenkleene

07/30/2015 at 08:45PM

23
#832 - Henrik Lissner / @vnought

08/02/2015 at 08:40PM

23
#833 - gyermolenko / @gyermolenko_

08/14/2015 at 08:43AM

23
#834 - C H / @c7hde

08/27/2015 at 03:56PM

23
#835 - Jesse Atkinson / @jsatk

08/28/2015 at 12:51AM

23
#836 - vimgolf jonnyb / @vimgolf_jonnyb

09/10/2015 at 01:04PM

23
#837 - Stani Banani / @Stani_Banani

09/17/2015 at 09:40AM

23
#838 - Andrey / @androzhk

09/30/2015 at 05:04PM

23
#839 - Ilya / @evilguc

09/30/2015 at 05:14PM

23
#840 - Shobhit Gupta / @shobhitg

10/26/2015 at 06:33PM