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

1072 active golfers, 4682 entries

Leaderboard (lowest score wins):
14
#271 - Peter Burt / @peterburt

05/18/2015 at 12:51AM

14
#272 - Котов Роман / @Oxaide16

05/23/2015 at 06:20AM

14
#273 - Personal Life Trackr / @PersLifeTrackr

05/24/2015 at 09:20PM

14
#274 - Eduardo Antunes / @ecsousa

05/30/2015 at 04:09AM

14
#275 - Sir Chauffeur / @sebdul

06/01/2015 at 07:18PM

14
#276 - Hao Deng / @haodeng

06/10/2015 at 08:53PM

14
#277 - ahumph / @ahumph

06/11/2015 at 12:11PM

14
#278 - Thomas McGinniss / @thom_bomb75

06/11/2015 at 06:00PM

14
#279 - Lifepillar / @lifepillar

06/15/2015 at 05:46AM

14
#280 - Noud Speijcken / @noudspeijcken

06/20/2015 at 06:55PM

14
#281 - Andres Manz / @manz_andres

06/24/2015 at 01:39PM

14
#282 - Skúli Jóhannsson / @skulibj

06/25/2015 at 11:15PM

14
#283 - Lindsay Swift / @_lindsai_

07/05/2015 at 12:49AM

14
#284 - Hunter Gatewood / @hcgatewood

07/28/2015 at 05:13AM

14
#285 - Peter B / @l0wm4x

08/01/2015 at 06:27PM

14
#286 - Reef / @Sir_Reef

08/05/2015 at 10:58PM

14
#287 - Veritas / @_VeritasL

08/13/2015 at 01:56PM

14
#288 - Nick Xiao / @nicoster

08/18/2015 at 02:31PM

14
#289 - David Perfors / @dnperfors

08/20/2015 at 08:36PM

14
#290 - Paulo Romeira / @pauloromeira

08/21/2015 at 03:47PM

14
#291 - JS / @jjohsan

08/23/2015 at 09:00AM

14
#292 - Dennis Burke / @ikirudennis

08/27/2015 at 06:22PM

14
#293 - T A / @SirAviles

08/30/2015 at 02:59PM

14
#294 - oscar / @zonza_mas

09/02/2015 at 02:03PM

14
#295 - Restroom Sounds / @RestroomSounds

09/06/2015 at 07:02PM

14
#296 - Joey / @joeyism101

09/12/2015 at 12:24AM

14
#297 - Obviouscator / @obviouscator

09/17/2015 at 11:48AM

14
#298 - Kevin Merlin / @mp3merlin

09/17/2015 at 02:23PM

14
#299 - Victor Kasatkin / @vikasatkin

09/20/2015 at 09:36PM

14
#300 - Thomas Draper / @QuanTom561

09/26/2015 at 12:56AM