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):
14
#271 - Joey / @joeyism101

09/12/2015 at 12:24AM

14
#272 - Obviouscator / @obviouscator

09/17/2015 at 11:48AM

14
#273 - Kevin Merlin / @mp3merlin

09/17/2015 at 02:23PM

14
#274 - Victor Kasatkin / @vikasatkin

09/20/2015 at 09:36PM

14
#275 - Thomas Draper / @QuanTom561

09/26/2015 at 12:56AM

14
#276 - Self Doc Code / @self_doc_code

09/28/2015 at 05:39AM

14
#277 - 이 철희 / @leechulhee95

10/02/2015 at 09:38AM

14
#278 - compuserved / @compuserved

10/04/2015 at 05:09AM

14
#279 - ojung / @oskrjung

10/04/2015 at 10:28PM

14
#280 - Smylers / @Smylers2

10/08/2015 at 03:37PM

14
#281 - Perry van Schaijk / @PvSchaijk

10/09/2015 at 11:40AM

14
#282 - 朱国栋 / @GuodongZhu

10/15/2015 at 03:33AM

14
#283 - Steve Bitner / @fourbitbots

10/21/2015 at 02:36AM

14
#284 - NuM / @NuM314

10/24/2015 at 05:59AM

14
#285 - Peter / @sunirbmag

10/25/2015 at 03:54PM

14
#286 - Jacob Steffler / @jacobsteffler

10/26/2015 at 04:26AM

14
#287 - Nam Net / @tafopigibi

10/26/2015 at 04:34PM

14
#288 - Ben Harris / @bharrisau

11/01/2015 at 08:23AM

14
#289 - Julien Grenier / @juliengrenier

11/02/2015 at 03:24PM

14
#290 - David Mauskop / @mauskop

11/12/2015 at 08:22PM

14
#291 - ハチポケッツ / @8pockets

11/24/2015 at 12:35AM

14
#292 - Darius Smaliukas / @daraz999

11/27/2015 at 07:12PM

14
#293 - Faat / @i_faat

12/04/2015 at 04:32PM

14
#294 - Jiahan Wang / @hijiahanwang123

12/10/2015 at 12:26AM

14
#295 - Charlie / @wookie_giant

12/20/2015 at 05:37PM

14
#296 - Izabel Jelenić / @IzabelJelenic

12/22/2015 at 11:26AM

14
#297 - Bingyunx / @bingyunx

12/26/2015 at 01:22AM

14
#298 - Saki Gw / @Sakigw

01/05/2016 at 08:17PM

14
#299 - Sebastian Nickel / @tumblingwhimsy

01/06/2016 at 07:46PM

14
#300 - Strabs / @artistavenue

01/08/2016 at 02:42PM