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

1081 active golfers, 4756 entries

Leaderboard (lowest score wins):
21
#691 - Filipe Dias-L. / @sockyrc

12/06/2014 at 10:24AM

21
#692 - Jonathan Geddes / @j_gds

12/07/2014 at 04:37AM

21
#693 - Daniel Rødskog / @daniero

12/10/2014 at 09:34PM

21
#694 - Allen Toy / @allen_toy

12/12/2014 at 12:03AM

21
#695 - Steve Alison / @Steve_Alison

12/16/2014 at 11:03PM

21
#696 - Adam Redfern / @AdmRedfern

12/19/2014 at 04:43PM

21
#697 - ぷりケツにるぽ / @nillpo

12/20/2014 at 01:14AM

21
#698 - Alex Birdsall / @OilCanSamson

12/21/2014 at 05:56AM

21
#699 - Eric Biven / @EricBiven

12/31/2014 at 09:39PM

21
#700 - Joshua Clark / @joshslark

01/02/2015 at 07:35AM

21
#701 - Ayman Farhat / @aymanfarhat

01/08/2015 at 02:29PM

21
#702 - Leo Allen / @pitch_invasion

01/14/2015 at 09:43AM

21
#703 - Simon Mölzer / @h0wser

01/19/2015 at 07:21AM

21
#704 - Ilari Mäkelä / @ilarimkel

01/19/2015 at 08:05PM

21
#705 - Иоаннъ / @Vaneskot

01/20/2015 at 04:47PM

21
#706 - Thomas Larrieu / @t_larrieu

01/25/2015 at 10:23AM

21
#707 - 裏連 / @uraren_bot

02/02/2015 at 08:11AM

21
#708 - Laurent Stacul / @stac47

02/19/2015 at 04:28PM

21
#709 - Chris Edwards / @boise_chris

02/27/2015 at 04:34PM

21
#710 - Mariano Macchi / @mmacchif

03/02/2015 at 02:57AM

21
#711 - shugen / @shugeno

03/03/2015 at 08:27PM

21
#712 - Gideon VanRiette / @gidjv

03/04/2015 at 05:52PM

21
#713 - ことえり / @kter

03/05/2015 at 02:32PM

21
#714 - Johan Wiren / @johanwiren

03/07/2015 at 06:58PM

21
#715 - Deepak Surti / @dmsurti

03/12/2015 at 03:07PM

21
#716 - BartJanssen / @BartJanssen

03/14/2015 at 11:11PM

21
#717 - Alexander Putilin / @SashaPutilin

03/16/2015 at 10:42PM

21
#718 - Karol Katerżawa / @CharlieQbx

03/17/2015 at 03:00PM

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

03/21/2015 at 12:53PM

21
#720 - Ben Friedland / @bfriedland174

03/24/2015 at 05:28PM