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

1032 active golfers, 4511 entries

Leaderboard (lowest score wins):
17
#451 - Jeff / @sir_wiggles3

09/07/2018 at 08:42PM

17
#452 - Sören Schellhoff / @Jackokomm

11/21/2018 at 01:19PM

17
#453 - diwa / @Di_nate_

11/23/2018 at 06:22AM

17
#454 - Performa / @performa6400

11/29/2018 at 04:55PM

17
#455 - Timur Celik / @clktmr

12/21/2018 at 01:01PM

17
#456 - Zach Miller / @barizachsy

02/27/2019 at 04:32AM

17
#457 - royaso / @royaso

04/13/2019 at 02:24PM

18
#458 - mnx / @mnxx

11/05/2014 at 04:37PM

18
#459 - Harold Pong / @har2po

11/06/2014 at 02:54PM

18
#460 - deris / @deris0126

11/06/2014 at 04:03PM

18
#461 - Michi Loro / @michiloro

11/10/2014 at 08:03AM

18
#462 - Bart / @oneofmanybarts

11/14/2014 at 02:19PM

18
#463 - Samuel Masuy / @samasuy

11/14/2014 at 11:25PM

18
#464 - Akshay Hegde / @ajh_17

11/15/2014 at 05:25AM

18
#465 - Yuriy / @skriyka

11/18/2014 at 03:35PM

18
#466 - Benjamin Frölich / @kakazwerglein

11/18/2014 at 07:22PM

18
#467 - Chris Brown / @engineercyb

11/22/2014 at 12:13AM

18
#468 - John Mahowald / @JohnMahowald

11/25/2014 at 07:38AM

18
#469 - zmo / @guyzmo

11/26/2014 at 08:49AM

18
#470 - Jakub Horák / @kubahorak

12/12/2014 at 03:22PM

18
#471 - Erim Secla / @Alcesmire

12/15/2014 at 04:33AM

18
#472 - Stefan Eng / @Wribbe

12/15/2014 at 04:36PM

18
#473 - Araka Bar / @ArakaBar

12/23/2014 at 06:22AM

18
#474 - Eirik A. Blekesaune / @blacksound

12/26/2014 at 09:33PM

18
#475 - AA / @john42luke

01/02/2015 at 05:58PM

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

01/17/2015 at 09:24PM

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

01/19/2015 at 02:17PM

18
#478 - Ethan Chan / @metakirby5

02/12/2015 at 08:25AM

18
#479 - 哆啦比猫 / @cjxgm2

02/13/2015 at 12:32PM

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

02/22/2015 at 08:40PM