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

1072 active golfers, 4682 entries

Leaderboard (lowest score wins):
24
#931 - Nelson Senna / @nelson_senna

03/20/2015 at 06:16PM

24
#932 - Rob Milward / @RobMilward

04/09/2015 at 11:39PM

24
#933 - Martijn Theunissen / @Martijn_______

04/21/2015 at 06:12PM

24
#934 - Nathan / @vine77

05/15/2015 at 08:02AM

24
#935 - Tim Abramson / @timabramson

06/12/2015 at 07:44PM

24
#936 - Jon Featherstone / @feathj

06/21/2015 at 04:53AM

24
#937 - Alex Girdler / @zraved

06/30/2015 at 10:54PM

24
#938 - Teemu Okkonen / @TeemuOkkonen

07/06/2015 at 09:31PM

24
#939 - Zsolt Fekete / @feketezsolt

07/10/2015 at 07:14AM

24
#940 - Bucker Fuskyote / @MooglePower

07/12/2015 at 04:03AM

24
#941 - Andreas Schlegel / @andischl

07/26/2015 at 05:06PM

24
#942 - Itamar Gal / @novicevimgolfer

08/17/2015 at 08:27PM

24
#943 - Maxime Dréau / @mdreau

09/07/2015 at 03:18PM

24
#944 - Mike Adams / @davis_cromwell

09/27/2015 at 01:01AM

24
#945 - Sid Momin / @mominsid

10/08/2015 at 09:48PM

24
#946 - Gerald Tilma / @GeraldTilma

10/18/2015 at 03:58PM

24
#947 - manfred knapp / @fred_pooshka

12/11/2015 at 09:39PM

24
#948 - Etienne Tremel / @etiennetremel

02/06/2016 at 02:41PM

24
#949 - Clémence / @Clemence_Neoxia

04/06/2016 at 07:55AM

24
#950 - Joe Searle / @artouk

05/02/2016 at 02:49PM

24
#951 - iNaKoll / @iNaKoll

05/07/2016 at 05:53PM

24
#952 - Jonathan Werner / @jonathanewerner

07/09/2016 at 05:51PM

24
#953 - Marvin Samson / @fresapore

09/09/2016 at 08:13PM

24
#954 - Yann / @yannstad

02/19/2017 at 10:09AM

24
#955 - Eric Bakan / @ericbakan

03/15/2017 at 01:42AM

24
#956 - Mitchell / @Spitchell

03/17/2017 at 12:01AM

24
#957 - melgaardbjorn / @melgaardbjorn

03/18/2017 at 05:43PM

24
#958 - Bruce Horner / @HerbConjurer

05/16/2017 at 01:55AM

24
#959 - Petar Saulic / @gorillawarfare9

10/27/2017 at 09:15AM

24
#960 - Михаил Сурин / @realssmike

12/17/2017 at 03:04AM