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

1118 active golfers, 4922 entries

Leaderboard (lowest score wins):
23
#931 - Gafton Paul / @Paul9222

02/06/2018 at 03:31AM

23
#932 - Pereant osores / @viniciusxp

02/21/2018 at 01:09PM

23
#933 - thoughts / @bonchodiaries

03/10/2018 at 09:23AM

23
#934 - pyaillet 🤘 / @pyaillet

03/19/2018 at 11:51AM

23
#935 - 名為ZYL / @me10zyl

06/07/2018 at 02:20AM

23
#936 - Šimon Mandlík / @simon_mandlik

06/29/2018 at 04:09PM

23
#937 - Gareth Miller / @CTingCTer

07/24/2018 at 08:09AM

23
#938 - Sxcy / @SxcyX

10/24/2018 at 09:23AM

23
#939 - PJ Frazer / @pj_frazer

11/22/2018 at 03:03AM

23
#940 - Oren Koriat / @KoriatOren

12/07/2018 at 09:14PM

23
#941 - Groovy / @groovy9

03/07/2019 at 10:09PM

23
#942 - Anthony Catterwell / @ACatterwell

03/11/2019 at 12:37AM

23
#943 - cubemike / @cubemike

03/25/2019 at 02:26PM

23
#944 - Laurent Atlan / @laurentatlan1

04/15/2019 at 10:16PM

23
#945 - Daniel Hakimian / @danrafhak

05/16/2019 at 12:50AM

23
#946 - せいほう / @FICSQF

07/03/2019 at 11:41AM

23
#947 - mirsemen / @mirsemen1

07/15/2019 at 10:10AM

23
#948 - Bob Ren / @bobrenjc93

08/19/2019 at 05:28PM

23
#949 - Chris Shorrock / @EbinFlow

08/22/2019 at 02:32PM

23
#950 - huynhminhchu / @huynhminhchu

09/22/2019 at 06:29AM

23
#951 - pysnow530 / @pysnow530

11/21/2019 at 04:35AM

23
#952 - Vim Player / @PlayerVim

12/03/2019 at 12:20PM

24
#953 - Lieven Keersmaekers / @LievenKeersmaek

11/05/2014 at 03:28PM

24
#954 - Jan Novak / @odpadnimail

11/18/2014 at 09:43PM

24
#955 - Edmundo Perez / @ingedmundo

12/03/2014 at 03:12AM

24
#956 - AZ / @lazywithclass

12/05/2014 at 08:54AM

24
#957 - gbin / @gbin

12/12/2014 at 06:46AM

24
#958 - Lunar Mayor / @Lunarmayor

12/18/2014 at 02:37PM

24
#959 - r. / @rmarvie

12/19/2014 at 09:57AM

24
#960 - Jordan Alexander / @HappppyPerson

12/24/2014 at 06:17PM