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

1020 active golfers, 4446 entries

Leaderboard (lowest score wins):
21
#661 - Иоаннъ / @Vaneskot

01/20/2015 at 04:47PM

21
#662 - Thomas Larrieu / @t_larrieu

01/25/2015 at 10:23AM

21
#663 - 裏連 / @uraren_bot

02/02/2015 at 08:11AM

21
#664 - Laurent Stacul / @stac47

02/19/2015 at 04:28PM

21
#665 - Chris Edwards / @boise_chris

02/27/2015 at 04:34PM

21
#666 - Mariano Macchi / @mmacchif

03/02/2015 at 02:57AM

21
#667 - shugen / @shugeno

03/03/2015 at 08:27PM

21
#668 - Gideon VanRiette / @gidjv

03/04/2015 at 05:52PM

21
#669 - ことえり / @kter

03/05/2015 at 02:32PM

21
#670 - Johan Wiren / @johanwiren

03/07/2015 at 06:58PM

21
#671 - Deepak Surti / @dmsurti

03/12/2015 at 03:07PM

21
#672 - BartJanssen / @BartJanssen

03/14/2015 at 11:11PM

21
#673 - Alexander Putilin / @SashaPutilin

03/16/2015 at 10:42PM

21
#674 - Karol Katerżawa / @CharlieQbx

03/17/2015 at 03:00PM

21
#675 - David Martínez Rubio / @damaru_BigSmile

03/21/2015 at 12:53PM

21
#676 - Ben Friedland / @bfriedland174

03/24/2015 at 05:28PM

21
#677 - Travis Barber / @tbarber350

03/25/2015 at 02:19AM

21
#678 - Heewa / @Heewa

04/02/2015 at 06:07PM

21
#679 - Raj / @brshenoy

04/02/2015 at 07:46PM

21
#680 - Evan Coleman / @edc1591

04/02/2015 at 07:53PM

21
#681 - William Ott / @oddalot

04/07/2015 at 05:51PM

21
#682 - Ducky / @MegaDucky9000

04/15/2015 at 02:06PM

21
#683 - chvzvhn / @chvzvhn

04/26/2015 at 02:24AM

21
#684 - Alex Bartol / @alexbartol

05/06/2015 at 05:25AM

21
#685 - たんたる / @tantal_mech

05/08/2015 at 06:53AM

21
#686 - Tom / @BureaucratGr11

05/27/2015 at 08:45PM

21
#687 - Aurélien Deharbe / @0x_ad

06/02/2015 at 08:36AM

21
#688 - Baleja McIntee / @0mcinteeq

06/09/2015 at 04:20PM

21
#689 - Mac Goever / @MacGoever

06/15/2015 at 11:42AM

21
#690 - Hans Löfving / @L3E7

07/12/2015 at 09:15PM