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

1094 active golfers, 4841 entries

Leaderboard (lowest score wins):
11
#151 - abgalphabet / @abgalphabet

01/14/2019 at 03:56PM

11
#152 - Sebastien Nicoud / @sebnukem

02/06/2019 at 11:17PM

11
#153 - Ng Sek Long / @NgSekLong

02/09/2019 at 04:10PM

11
#154 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:47AM

11
#155 - 默罕默德 / @Rt6RjEAJ987Woes

02/14/2019 at 08:34AM

11
#156 - tenteke / @kuskus3

02/15/2019 at 03:28PM

11
#157 - Filipe Brandenburger / @filbranden

02/17/2019 at 08:57AM

11
#158 - hn9u / @hn9u

02/25/2019 at 05:04PM

11
#159 - Titouan Teyssier / @TitouanT_

03/02/2019 at 02:59AM

11
#160 - zenwalker / @zenwalker93

03/09/2019 at 12:01PM

11
#161 - enji / @enji_ja

03/19/2019 at 02:15PM

11
#162 - Parsa Amini / @ParsaAmini

03/20/2019 at 05:16PM

11
#163 - k24w24 / @k24w24

03/26/2019 at 01:34PM

11
#164 - Joel Eriksson / @OwariDa

04/08/2019 at 10:01PM

11
#165 - alekfed / @alek_fed

04/14/2019 at 09:14PM

11
#166 - Gitsnik / @dracyrys

04/22/2019 at 10:58AM

11
#167 - Grant / @grant_7788

04/28/2019 at 01:36AM

11
#168 - Sherab Giovannini / @shaddycls

05/02/2019 at 09:28PM

11
#169 - Paul Yates / @PYates77

05/08/2019 at 08:43PM

11
#170 - Nick Yeow / @nickyeow

05/22/2019 at 11:47AM

11
#171 - maximilian / @maximil61408276

05/28/2019 at 09:02PM

11
#172 - Fiffy / @sr21486642

05/31/2019 at 08:50AM

11
#173 - mkaminaga / @mkmng3

06/06/2019 at 01:10PM

11
#174 - Seunghun Lee / @earlbread

06/06/2019 at 01:21PM

11
#175 - Miłosz Łakomy / @foobar01123

06/13/2019 at 06:52AM

11
#176 - Chester Yap / @Chest_ErYap

07/14/2019 at 12:27PM

11
#177 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 12:24PM

11
#178 - Joe Fahnestock🌵 / @Joecupojoe

08/01/2019 at 06:57AM

11
#179 - sooqua / @sooqua

08/08/2019 at 06:59PM

11
#180 - Martin Delille / @martinodelilo

08/23/2019 at 08:47AM