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

1052 active golfers, 4579 entries

Leaderboard (lowest score wins):
21
#751 - Codingpotato / @codingpotato

05/07/2017 at 09:39AM

21
#752 - Jenny Johnson / @Kippz07

05/11/2017 at 11:29AM

21
#753 - jakeroberts / @jakeroberts

05/16/2017 at 01:44PM

21
#754 - Will Gunther / @WillGunther

06/11/2017 at 08:21PM

21
#755 - Cary Goltermann / @CaryGoltermann

09/25/2017 at 12:02AM

21
#756 - Geoff / @RealGeoffErwin

09/29/2017 at 01:12PM

21
#757 - Le Lycal / @LeLycal

10/05/2017 at 10:50AM

21
#758 - Jacob Tailor / @spydronex

02/06/2018 at 08:40PM

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

04/11/2018 at 02:39PM

21
#760 - Jonathan Camilleri / @Too_Many_Taken

05/24/2018 at 01:14PM

21
#761 - 김예지 / @8PjPnQfmHR2caqM

06/29/2018 at 08:41AM

21
#762 - fucus / @fishlovebanana

07/31/2018 at 07:54AM

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

08/16/2018 at 01:47PM

21
#764 - Brent Woo / @BrentPWoo

10/05/2018 at 08:38PM

21
#765 - Dax / @daaawx

10/24/2018 at 09:59PM

21
#766 - Dave Brda / @BrdaDave

10/25/2018 at 09:45PM

21
#767 - 永森 / @nagakei05

12/07/2018 at 07:57AM

21
#768 - Jasper Pangilinan / @JasperP

12/27/2018 at 12:21PM

21
#769 - Stefano Bettani / @StefanoBettani

01/19/2019 at 04:32PM

21
#770 - churaki / @churaki

01/25/2019 at 10:45PM

21
#771 - alexandrasou / @alexandrasou2

05/22/2019 at 01:27PM

21
#772 - JonasS / @jonas42s

05/30/2019 at 01:37PM

21
#773 - albalitz / @_albalitz

06/03/2019 at 01:57PM

22
#774 - いっこつ / @eZb4

02/11/2015 at 03:35PM

22
#775 - Yuan Guan / @yuanguan89

03/02/2015 at 04:47AM

22
#776 - Pedro Franceschi / @pedroh96

04/08/2015 at 06:47PM

22
#777 - ɹǝsnɐɥsıʇnɹ uoɾ / @JonRutis

06/02/2015 at 06:51PM

22
#778 - Chris / @crr0004

06/29/2015 at 11:42AM

22
#779 - Markus / @I__Markus__I

08/31/2015 at 09:03PM

22
#780 - emblox / @emblox

11/19/2015 at 10:51PM