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

1008 active golfers, 4383 entries

Leaderboard (lowest score wins):
18
#451 - Benjamin Frölich / @kakazwerglein

11/18/2014 at 07:22PM

18
#452 - Chris Brown / @engineercyb

11/22/2014 at 12:13AM

18
#453 - John Mahowald / @JohnMahowald

11/25/2014 at 07:38AM

18
#454 - zmo / @guyzmo

11/26/2014 at 08:49AM

18
#455 - Jakub Horák / @kubahorak

12/12/2014 at 03:22PM

18
#456 - Erim Secla / @Alcesmire

12/15/2014 at 04:33AM

18
#457 - Stefan Eng / @Wribbe

12/15/2014 at 04:36PM

18
#458 - Araka Bar / @ArakaBar

12/23/2014 at 06:22AM

18
#459 - Eirik A. Blekesaune / @blacksound

12/26/2014 at 09:33PM

18
#460 - AA / @john42luke

01/02/2015 at 05:58PM

18
#461 - Carlos A Henríquez Q / @lagunex

01/17/2015 at 09:24PM

18
#462 - Плеханов Дмитрий / @onemanstartup

01/19/2015 at 02:17PM

18
#463 - Ethan Chan / @metakirby5

02/12/2015 at 08:25AM

18
#464 - 哆啦比猫 / @cjxgm2

02/13/2015 at 12:32PM

18
#465 - Jérôme Salignon / @JeromeSalignon

02/22/2015 at 08:40PM

18
#466 - Elizabeth / @sprinkles418

03/03/2015 at 05:45PM

18
#467 - Grigoriy Glushko / @grinderrz

03/13/2015 at 12:46PM

18
#468 - TheProgrammer971 / @tp971

03/13/2015 at 10:01PM

18
#469 - Hooman / @namooh

03/22/2015 at 05:21PM

18
#470 - ipson_nek / @ipson_nek

03/25/2015 at 02:04PM

18
#471 - Alice Benign / @AliceBenign

03/29/2015 at 01:08PM

18
#472 - Robin Moussu / @robin_moussu

03/29/2015 at 10:16PM

18
#473 - Fan Zhang / @2bDeactivat3d

04/06/2015 at 03:57AM

18
#474 - Emmanuel Denloye-Ito / @EmmanuelDenloye

04/11/2015 at 03:33PM

18
#475 - Zach Morgan / @zpmorgan

05/01/2015 at 11:10PM

18
#476 - e / @e1914_2014

05/02/2015 at 08:03AM

18
#477 - Adetque / @Adetque

05/29/2015 at 08:45AM

18
#478 - Quota / @Quotad

06/12/2015 at 10:26AM

18
#479 - Liam Thurston / @lthurston188

08/17/2015 at 03:59AM

18
#480 - Kirill Cherkashin / @kirjs

08/31/2015 at 09:13PM