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
#781 - Andrew Richards / @drwrchrds

11/05/2014 at 12:57AM

23
#782 - kungfuchad / @kungfuchad

11/05/2014 at 06:32PM

23
#783 - Cody Callahan / @imnicuhtine

11/06/2014 at 06:33AM

23
#784 - Nate R / @80vs90

11/11/2014 at 08:35PM

23
#785 - Thomas Geßler / @th_gessler

11/16/2014 at 11:42AM

23
#786 - Rathrio / @Rathrio

11/17/2014 at 09:31AM

23
#787 - Frederik Vosberg / @FrediVosberg

12/07/2014 at 04:31PM

23
#788 - Tom Reznick / @threznick

12/10/2014 at 07:50PM

23
#789 - Raphael / @rnstlr

12/12/2014 at 05:00PM

23
#790 - Kentaro Wakayama / @wakayamakentaro

12/16/2014 at 03:30PM

23
#791 - Koji Wakayama / @wakayamakoji

12/16/2014 at 03:46PM

23
#792 - Edward Brown / @ChazKato

12/16/2014 at 08:02PM

23
#793 - Christopher Yudichak / @TheOddLinguist

12/24/2014 at 07:54PM

23
#794 - Bruce Park / @bpark0

02/01/2015 at 10:29PM

23
#795 - Madelaine G / @mmarchin

02/11/2015 at 03:27PM

23
#796 - d1uckym d1uckym / @d1uckym

02/15/2015 at 07:22PM

23
#797 - Rob Wise / @RobAWise

02/16/2015 at 08:52AM

23
#798 - Thomas Brisbout / @le_briz

02/17/2015 at 03:13PM

23
#799 - Dmitry Zudochkin / @zudochkin

02/17/2015 at 08:09PM

23
#800 - Jeffrey Gu / @Jeffrey_Gu

03/17/2015 at 05:16PM

23
#801 - Oleg Alfalfa / @6alfalfa9

03/20/2015 at 05:35PM

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

03/25/2015 at 01:44PM

23
#803 - Benny Wong / @bdotdub

04/02/2015 at 06:23PM

23
#804 - ryo_n / @ryo_n

04/04/2015 at 09:35AM

23
#805 - Hendrik Lammers / @hendriklammers

04/19/2015 at 08:51PM

23
#806 - Michael Cramer / @mlcramer

04/25/2015 at 02:21PM

23
#807 - Joel Gallant / @joelg236

05/20/2015 at 12:49AM

23
#808 - Marco Antognini / @MrHiura

05/30/2015 at 04:50PM

23
#809 - raghu erapaneedi / @raghue9

06/19/2015 at 01:57PM

23
#810 - Paul / @MapCalculator

06/23/2015 at 12:01AM