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

1099 active golfers, 4854 entries

Leaderboard (lowest score wins):
21
#781 - Matti Sairanen / @MattiSairanen

11/15/2016 at 07:19PM

21
#782 - Sergio / @voyeg3r

11/24/2016 at 11:25AM

21
#783 - alkozu / @alkozu

12/01/2016 at 04:46PM

21
#784 - Kritixi Lithos / @kritixilithos

03/02/2017 at 07:51PM

21
#785 - Whossname / @BuzzaTyson

04/30/2017 at 08:43AM

21
#786 - Fox Wilson / @FoxWilson42

05/06/2017 at 03:09AM

21
#787 - Codingpotato / @codingpotato

05/07/2017 at 09:39AM

21
#788 - Jenny Johnson / @Kippz07

05/11/2017 at 11:29AM

21
#789 - jakeroberts / @jakeroberts

05/16/2017 at 01:44PM

21
#790 - Will Gunther / @WillGunther

06/11/2017 at 08:21PM

21
#791 - Cary Goltermann / @CaryGoltermann

09/25/2017 at 12:02AM

21
#792 - Geoff / @RealGeoffErwin

09/29/2017 at 01:12PM

21
#793 - Le Lycal / @LeLycal

10/05/2017 at 10:50AM

21
#794 - Jacob Tailor / @spydronex

02/06/2018 at 08:40PM

21
#795 - Михаил Фуфин / @MishaFufin

04/11/2018 at 02:39PM

21
#796 - Jonathan Camilleri / @Too_Many_Taken

05/24/2018 at 01:14PM

21
#797 - 김예지 / @8PjPnQfmHR2caqM

06/29/2018 at 08:41AM

21
#798 - fucus / @fishlovebanana

07/31/2018 at 07:54AM

21
#799 - 无眠的夜狐狸 / @fox_ni

08/16/2018 at 01:47PM

21
#800 - Brent Woo / @BrentPWoo

10/05/2018 at 08:38PM

21
#801 - Dax / @daaawx

10/24/2018 at 09:59PM

21
#802 - Dave Brda / @BrdaDave

10/25/2018 at 09:45PM

21
#803 - 永森 / @nagk05

12/07/2018 at 07:57AM

21
#804 - Jasper Pangilinan / @JasperP

12/27/2018 at 12:21PM

21
#805 - Stefano Bettani / @StefanoBettani

01/19/2019 at 04:32PM

21
#806 - churaki / @churaki

01/25/2019 at 10:45PM

21
#807 - alexandrasou / @alexandrasou2

05/22/2019 at 01:27PM

21
#808 - JonasS / @jonas42s

05/30/2019 at 01:37PM

21
#809 - albalitz / @_albalitz

06/03/2019 at 01:57PM

21
#810 - Kjaku / @Kondziorf

09/07/2019 at 09:20PM