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

1092 active golfers, 4829 entries

Leaderboard (lowest score wins):
23
#901 - Ezra Zigmond / @ezrazig

06/21/2017 at 07:44PM

23
#902 - Ryan Coopersmith / @RyanCoopersmit1

08/12/2017 at 01:56PM

23
#903 - Daniel / @0x9ABC

08/17/2017 at 07:55PM

23
#904 - Дима / @dimkino

09/07/2017 at 07:26AM

23
#905 - Saul Hardman / @saulhardman

10/10/2017 at 01:49PM

23
#906 - Ron Alexssen / @Ralexhere

10/16/2017 at 09:41PM

23
#907 - Sébastien Canart / @kokotchY

10/28/2017 at 09:38AM

23
#908 - popo5colo / @popo5colo1

10/31/2017 at 12:47PM

23
#909 - Carl Ward / @doncarlos999

11/17/2017 at 05:08AM

23
#910 - Moritz Manner / @moritz_manner

12/29/2017 at 12:08AM

23
#911 - Luke Parsons / @lukeparsons

12/29/2017 at 02:49PM

23
#912 - c0llision / @sh3llcode

01/26/2018 at 10:48AM

23
#913 - Gafton Paul / @Paul9222

02/06/2018 at 03:31AM

23
#914 - Pereant osores / @viniciusxp

02/21/2018 at 01:09PM

23
#915 - thoughts / @bonchodiaries

03/10/2018 at 09:23AM

23
#916 - pyaillet 🤘 / @pyaillet

03/19/2018 at 11:51AM

23
#917 - 名為ZYL / @me10zyl

06/07/2018 at 02:20AM

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

06/29/2018 at 04:09PM

23
#919 - Gareth Miller / @CTingCTer

07/24/2018 at 08:09AM

23
#920 - Sxcy / @SxcyX

10/24/2018 at 09:23AM

23
#921 - PJ Frazer / @pj_frazer

11/22/2018 at 03:03AM

23
#922 - Oren Koriat / @KoriatOren

12/07/2018 at 09:14PM

23
#923 - Groovy / @groovy9

03/07/2019 at 10:09PM

23
#924 - Anthony Catterwell / @ACatterwell

03/11/2019 at 12:37AM

23
#925 - cubemike / @cubemike

03/25/2019 at 02:26PM

23
#926 - Laurent Atlan / @laurentatlan1

04/15/2019 at 10:16PM

23
#927 - Daniel Hakimian / @danrafhak

05/16/2019 at 12:50AM

23
#928 - せいほう / @FICSQF

07/03/2019 at 11:41AM

23
#929 - mirsemen / @mirsemen1

07/15/2019 at 10:10AM

23
#930 - Bob Ren / @bobrenjc93

08/19/2019 at 05:28PM