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):
11
#91 - Alphonse Mariya / @alfunx

01/08/2018 at 09:59PM

11
#92 - Ian Isaac Emnace / @29forte95

01/16/2018 at 07:35AM

11
#93 - ParasamGateZero / @ParasamGateZero

01/16/2018 at 10:51AM

11
#94 - Romain D. / @r_dulery

02/05/2018 at 07:44PM

11
#95 - Maxim Zalata / @zalatik

03/02/2018 at 07:55PM

11
#96 - GreenPinguin / @GreenPinguin2

03/09/2018 at 04:43PM

11
#97 - AntonioWong / @AntonioWong

03/11/2018 at 09:52PM

11
#98 - Lisa Ugray / @lisa_ugray

03/13/2018 at 06:46PM

11
#99 - Guirec CORBEL / @GuirecCorbel

03/15/2018 at 10:52AM

11
#100 - vimthrowaway / @vimgolf_throw

03/30/2018 at 05:44PM

11
#101 - ewalk153 / @ewalk153

04/01/2018 at 12:16PM

11
#102 - DHM / @DHM29978992

04/11/2018 at 07:27PM

11
#103 - Evgeny`s Kindle / @EvgenyKindle

04/24/2018 at 08:49AM

11
#104 - SciComp / @uwscicomp

04/25/2018 at 02:13PM

11
#105 - Rakesh P / @rakeshpgopal

04/29/2018 at 08:14AM

11
#106 - Marcos Almeida / @almeidamarcos_

04/29/2018 at 10:26AM

11
#107 - Michael Topal / @h4ckt1c

05/02/2018 at 11:23AM

11
#108 - Daniel Liu / @idanieliu

05/03/2018 at 11:37PM

11
#109 - golfer / @golfer30767399

05/04/2018 at 11:41PM

11
#110 - vimgolfdummy / @vimgolfdummy

05/05/2018 at 07:59PM

11
#111 - Adomas Jatužis / @adomixaszvers

05/14/2018 at 06:35PM

11
#112 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:50PM

11
#113 - Matt Aschmann / @ma7hatter

05/24/2018 at 03:49PM

11
#114 - 中野 彰 / @M__tech

06/04/2018 at 12:40PM

11
#115 - omrisarig / @omrisarig

06/09/2018 at 06:34PM

11
#116 - Davidoir / @Davidoir

06/12/2018 at 06:03PM

11
#117 - Norbert / @mullno

06/23/2018 at 08:06PM

11
#118 - xer0.5ive / @Bibekshah

07/09/2018 at 02:37PM

11
#119 - Chris Dean / @ChrisDe62379742

07/12/2018 at 04:20AM

11
#120 - steph-query / @StephQuery

07/16/2018 at 06:00PM