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

1052 active golfers, 4579 entries

Leaderboard (lowest score wins):
21
#721 - Sergey Semushin / @Predelnik

08/23/2015 at 10:08AM

21
#722 - Yaroslav Kanarev / @yarosurabu

09/07/2015 at 03:39PM

21
#723 - Niko / @nikozc

09/22/2015 at 05:25AM

21
#724 - MikeT / @mik3t

09/29/2015 at 09:21PM

21
#725 - a / @robbietron

10/12/2015 at 03:12AM

21
#726 - Anshu Avinash / @anshu_avinash

10/17/2015 at 09:14PM

21
#727 - Bogumił Kamiński / @BogumilKaminski

10/25/2015 at 04:51PM

21
#728 - Ryuichiro / @ryuichiro44

11/19/2015 at 10:53PM

21
#729 - Martin Lehmann / @Theneva

12/10/2015 at 01:33PM

21
#730 - Matías Lang / @sh4r3m4n

12/11/2015 at 02:55PM

21
#731 - abbystasja / @abbystasja

12/21/2015 at 10:58PM

21
#732 - twenty2twoss / @twenty2twoss

01/06/2016 at 09:28PM

21
#733 - thlix / @thlix

01/09/2016 at 05:46PM

21
#734 - Roberto Carraretto / @robcarraretto

01/09/2016 at 10:43PM

21
#735 - Cristian Lupașcu / @clupasq

02/08/2016 at 09:44AM

21
#736 - udreki / @udreki

02/20/2016 at 08:25AM

21
#737 - Pratap Koritala / @pratap_koritala

02/29/2016 at 06:40AM

21
#738 - Chenut Ludovic / @7Brwa7

04/01/2016 at 08:28AM

21
#739 - f00b8tr / @f00b8tr5

05/23/2016 at 04:45AM

21
#740 - Rein Van Imschoot / @reinvanimschoot

06/16/2016 at 09:20PM

21
#741 - Dan Madden / @guthran

07/15/2016 at 02:29PM

21
#742 - Ryan van Rensburg / @rdvr001

07/18/2016 at 06:05PM

21
#743 - Richard Laub / @RWLaub91

08/21/2016 at 06:41AM

21
#744 - TweetDreams / @TweetMusicians

10/08/2016 at 06:31PM

21
#745 - Matti Sairanen / @MattiSairanen

11/15/2016 at 07:19PM

21
#746 - Sergio / @voyeg3r

11/24/2016 at 11:25AM

21
#747 - alkozu / @alkozu

12/01/2016 at 04:46PM

21
#748 - Kritixi Lithos / @kritixilithos

03/02/2017 at 07:51PM

21
#749 - Whossname / @BuzzaTyson

04/30/2017 at 08:43AM

21
#750 - Fox Wilson / @FoxWilson42

05/06/2017 at 03:09AM