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
#871 - Jesse Atkinson / @jsatk

08/28/2015 at 12:51AM

23
#872 - vimgolf jonnyb / @vimgolf_jonnyb

09/10/2015 at 01:04PM

23
#873 - Stani Banani / @Stani_Banani

09/17/2015 at 09:40AM

23
#874 - Andrey / @androzhk

09/30/2015 at 05:04PM

23
#875 - Ilya / @evilguc

09/30/2015 at 05:14PM

23
#876 - Shobhit Gupta / @shobhitg

10/26/2015 at 06:33PM

23
#877 - Rene Tianco / @murlockslol

10/29/2015 at 12:24AM

23
#878 - SK Liew / @liewsk

11/05/2015 at 02:40AM

23
#879 - andrei / @CebotariAndrei

01/02/2016 at 10:03PM

23
#880 - Alexander Ryzhikov / @Coobaha

01/05/2016 at 09:17PM

23
#881 - Austin Wood / @indiesquidge

01/19/2016 at 05:43PM

23
#882 - Joy Gao / @joygao

01/28/2016 at 11:37PM

23
#883 - walter sullivan / @walters82208305

02/12/2016 at 03:26PM

23
#884 - Sebastian Pardo / @sebpardo

02/17/2016 at 10:56PM

23
#885 - Scott Traver / @ScottTraver

02/19/2016 at 04:44AM

23
#886 - Jaron Hamlik / @jdhamlik

02/27/2016 at 03:35AM

23
#887 - Jinzhou Zhang / @jinzhouz

03/08/2016 at 06:07AM

23
#888 - Lauren Scott / @devdame

03/28/2016 at 10:05PM

23
#889 - CM Déjardin ن / @CMDej

04/06/2016 at 07:37AM

23
#890 - Matteo Signer / @MatteoSigner

04/10/2016 at 08:47PM

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

04/26/2016 at 04:14PM

23
#892 - Tommy Wu / @TommyJSWu

05/02/2016 at 04:04PM

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

06/03/2016 at 10:46AM

23
#894 - Tautvilas / @TautviIas

06/09/2016 at 10:25AM

23
#895 - Amory Schlender / @schlamory

07/08/2016 at 06:33AM

23
#896 - Mateusz / @Mantos77

09/07/2016 at 09:57PM

23
#897 - Kyouma / @kyoumaJohn

10/14/2016 at 01:35PM

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

10/23/2016 at 09:21PM

23
#899 - Dmitry Gruzd / @dgruzd

11/06/2016 at 12:21PM

23
#900 - Mads Jensen / @mads_je

02/24/2017 at 02:45PM