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):
23
#871 - Matteo Signer / @MatteoSigner

04/10/2016 at 08:47PM

23
#872 - Håkon Bråten / @h_braten

04/26/2016 at 04:14PM

23
#873 - Tommy Wu / @TommyJSWu

05/02/2016 at 04:04PM

23
#874 - 白猫(zhu) / @cat2flower

06/03/2016 at 10:46AM

23
#875 - Tautvilas / @TautviIas

06/09/2016 at 10:25AM

23
#876 - Amory Schlender / @schlamory

07/08/2016 at 06:33AM

23
#877 - Mateusz / @Mantos77

09/07/2016 at 09:57PM

23
#878 - Kyouma / @kyoumaJohn

10/14/2016 at 01:35PM

23
#879 - Дмитрий Кремез / @dima_kremez

10/23/2016 at 09:21PM

23
#880 - Dmitry Gruzd / @dgruzd

11/06/2016 at 12:21PM

23
#881 - Mads Jensen / @mads_je

02/24/2017 at 02:45PM

23
#882 - Ezra Zigmond / @ezrazig

06/21/2017 at 07:44PM

23
#883 - Ryan Coopersmith / @RyanCoopersmit1

08/12/2017 at 01:56PM

23
#884 - Daniel / @0x9ABC

08/17/2017 at 07:55PM

23
#885 - Дима / @dimkino

09/07/2017 at 07:26AM

23
#886 - Saul Hardman / @saulhardman

10/10/2017 at 01:49PM

23
#887 - Ron Alexssen / @Ralexhere

10/16/2017 at 09:41PM

23
#888 - Sébastien Canart / @kokotchY

10/28/2017 at 09:38AM

23
#889 - popo5colo / @popo5colo1

10/31/2017 at 12:47PM

23
#890 - Carl Ward / @doncarlos999

11/17/2017 at 05:08AM

23
#891 - Moritz Manner / @moritz_manner

12/29/2017 at 12:08AM

23
#892 - Luke Parsons / @lukeparsons

12/29/2017 at 02:49PM

23
#893 - c0llision / @sh3llcode

01/26/2018 at 10:48AM

23
#894 - Gafton Paul / @Paul9222

02/06/2018 at 03:31AM

23
#895 - Pereant osores / @viniciusxp

02/21/2018 at 01:09PM

23
#896 - thoughts / @bonchodiaries

03/10/2018 at 09:23AM

23
#897 - pyaillet 🤘 / @pyaillet

03/19/2018 at 11:51AM

23
#898 - 名為ZYL / @me10zyl

06/07/2018 at 02:20AM

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

06/29/2018 at 04:09PM

23
#900 - Gareth Miller / @CTingCTer

07/24/2018 at 08:09AM