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

1004 active golfers, 4373 entries

Leaderboard (lowest score wins):
14
#211 - Harm te Hennepe / @HrmtH

01/22/2015 at 08:48PM

14
#212 - mark0829 / @mark0829

01/22/2015 at 11:57PM

14
#213 - ben / @bpaqd

01/23/2015 at 04:29AM

14
#214 - Adam Stankiewicz / @sheerun

01/25/2015 at 09:36PM

14
#215 - Loser Face / @heypetewhats

01/30/2015 at 04:35PM

14
#216 - Nolic / @cNolic

01/31/2015 at 09:50AM

14
#217 - aborilov / @aborilov

02/19/2015 at 07:02AM

14
#218 - Michael Giuffrida / @mgiuffrida

02/21/2015 at 09:42AM

14
#219 - Alan Berndt / @bentglasstube

02/23/2015 at 05:54PM

14
#220 - octotep / @octotep

02/25/2015 at 03:45AM

14
#221 - Yannic Haupenthal / @yhaupenthal

03/01/2015 at 09:13PM

14
#222 - nope / @nope_gknobup

03/01/2015 at 10:12PM

14
#223 - Andrew / @WK3AS

03/02/2015 at 01:08AM

14
#224 - Matthew Pryor / @HodgekaGames

03/03/2015 at 10:21PM

14
#225 - dfleischman / @dfleischman

03/06/2015 at 11:30PM

14
#226 - DrHobo / @_DrHobo_

03/09/2015 at 01:07AM

14
#227 - Ala' Ibrahim / @alaa_ibrahim

03/10/2015 at 08:17AM

14
#228 - Bradley Garagan / @bradgaragan

03/18/2015 at 12:46PM

14
#229 - Kaleb Hornsby / @thekaleb

03/23/2015 at 04:58PM

14
#230 - Krzysztof / @Krzysztof2K

03/24/2015 at 09:06AM

14
#231 - Joonas Pihlajamaa / @jokkebk

03/26/2015 at 09:10AM

14
#232 - pftb12345 / @pftb12345

03/28/2015 at 03:19PM

14
#233 - John Stephens ⚑ / @johnstephens

03/28/2015 at 03:59PM

14
#234 - You Mustnotknow / @y8hVz6fJdm6Lt5q

04/03/2015 at 05:51PM

14
#235 - Oleg Parashchenko / @olparko

04/09/2015 at 06:22AM

14
#236 - Bradley Hardy / @bradleyishardy

04/12/2015 at 01:21PM

14
#237 - Server Zero / @assaflavie

04/17/2015 at 05:43AM

14
#238 - Charles Joachim / @cacplate

04/17/2015 at 11:43PM

14
#239 - i5513 / @i5513

04/22/2015 at 10:31AM

14
#240 - Victor Haffreingue / @nobe_4

05/07/2015 at 12:53AM