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

1118 active golfers, 4923 entries

Leaderboard (lowest score wins):
23
#901 - walter sullivan / @walters82208305

02/12/2016 at 03:26PM

23
#902 - Sebastian Pardo / @sebpardo

02/17/2016 at 10:56PM

23
#903 - Scott Traver / @ScottTraver

02/19/2016 at 04:44AM

23
#904 - Jaron Hamlik / @jdhamlik

02/27/2016 at 03:35AM

23
#905 - Jinzhou Zhang / @jinzhouz

03/08/2016 at 06:07AM

23
#906 - Lauren Scott / @devdame

03/28/2016 at 10:05PM

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

04/06/2016 at 07:37AM

23
#908 - Matteo Signer / @MatteoSigner

04/10/2016 at 08:47PM

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

04/26/2016 at 04:14PM

23
#910 - Tommy Wu / @TommyJSWu

05/02/2016 at 04:04PM

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

06/03/2016 at 10:46AM

23
#912 - Tautvilas / @TautviIas

06/09/2016 at 10:25AM

23
#913 - Amory Schlender / @schlamory

07/08/2016 at 06:33AM

23
#914 - Mateusz / @Mantos77

09/07/2016 at 09:57PM

23
#915 - Kyouma / @kyoumaJohn

10/14/2016 at 01:35PM

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

10/23/2016 at 09:21PM

23
#917 - Dmitry Gruzd / @dgruzd

11/06/2016 at 12:21PM

23
#918 - Mads Jensen / @mads_je

02/24/2017 at 02:45PM

23
#919 - Ezra Zigmond / @ezrazig

06/21/2017 at 07:44PM

23
#920 - Ryan Coopersmith / @RyanCoopersmit1

08/12/2017 at 01:56PM

23
#921 - Daniel / @0x9ABC

08/17/2017 at 07:55PM

23
#922 - Дима / @dimkino

09/07/2017 at 07:26AM

23
#923 - Saul Hardman / @saulhardman

10/10/2017 at 01:49PM

23
#924 - Ron Alexssen / @Ralexhere

10/16/2017 at 09:41PM

23
#925 - Sébastien Canart / @kokotchY

10/28/2017 at 09:38AM

23
#926 - popo5colo / @popo5colo1

10/31/2017 at 12:47PM

23
#927 - Carl Ward / @doncarlos999

11/17/2017 at 05:08AM

23
#928 - Moritz Manner / @moritz_manner

12/29/2017 at 12:08AM

23
#929 - Luke Parsons / @lukeparsons

12/29/2017 at 02:49PM

23
#930 - c0llision / @sh3llcode

01/26/2018 at 10:48AM