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 4fca29ddd3a0d40001000038

Remove semicolons after expressions

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

Start file
var foo;

var bar = myCoolStuff();

callRemote
();

foo
= callTheWorld();
End file
var foo

var bar = myCoolStuff()

callRemote
()

foo
= callTheWorld()

View Diff

1c1
< var foo;
---
> var foo
3c3
< var bar = myCoolStuff();
---
> var bar = myCoolStuff()
5c5
< callRemote();
---
> callRemote()
7c7
< foo = callTheWorld();
---
> foo = callTheWorld()

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 261 remaining solutions by signing in and submitting your own entry
#262 Noel Alejandro / @noelrock333 - Score: 15 - 06/23/12 @ 00:03
:%s/;//<CR>:w<CR><Esc>:q<CR>

0 comments


#263 Samuel Masuy / @samasuy - Score: 15 - 07/24/14 @ 16:06
qaI<Esc>A<BS><Esc>jjq3@aZZ

0 comments


Created by: @laurilehmijoki

263 active golfers, 654 entries

Leaderboard (lowest score wins):
8
#181 - Chris Brown / @engineercyb

07/31/2012 at 08:47PM

8
#182 - Björn Holdt / @bholdt

08/09/2012 at 05:33PM

8
#183 - Michael Limiero / @michaellimiero

08/14/2012 at 11:16PM

8
#184 - Eumir Gaspar / @corrodedlotus

08/23/2012 at 11:59AM

8
#185 - vansan / @VinceVansan

08/23/2012 at 06:03PM

8
#186 - Maksim S. / @waynesayonara

09/02/2012 at 01:42PM

8
#187 - Arne Ehrlich / @typedlambda

09/06/2012 at 06:50AM

8
#188 - jakeroberts / @jakeroberts

09/07/2012 at 06:56AM

8
#189 - Federico Bond / @federicobond

09/22/2012 at 11:53PM

8
#190 - Sven Koesling / @McSvenster

09/24/2012 at 07:24AM

8
#191 - Javier Cervantes / @solojavier

10/08/2012 at 10:04PM

8
#192 - Édouard M'tou / @DouardM

10/09/2012 at 06:45PM

8
#193 - Underhill Labs / @underhilllabs

11/03/2012 at 03:41AM

8
#194 - Saxon Unrue / @joeunrue

11/09/2012 at 01:24PM

8
#195 - Kenneth Waters / @gen_witt

11/13/2012 at 09:08PM

8
#196 - Michael / @patheticpat

12/17/2012 at 02:03PM

8
#197 - z0k / @z0k

12/19/2012 at 03:22PM

8
#198 - Pedro Franceschi / @pedroh96

02/06/2013 at 02:40AM

8
#199 - Addisu Taddese / @azeey

03/02/2013 at 07:10PM

8
#200 - Tyler / @tylerbindon

04/03/2013 at 07:46PM

8
#201 - Aaron Josephs / @aaronjosephs1

05/02/2013 at 02:57AM

8
#202 - Anh Do / @quanganhdo

06/04/2013 at 05:16AM

8
#203 - Michael Kummer / @randompast

07/06/2013 at 08:14PM

8
#204 - curist / @curist

07/09/2013 at 07:46AM

8
#205 - Nathan / @NathanHarperoni

08/08/2013 at 02:15PM

8
#206 - cj / @cj01101

08/16/2013 at 10:07PM

8
#207 - Oliver Christ / @0liverChrist

09/27/2013 at 10:43PM

8
#208 - foo / @foo88832727

10/18/2013 at 09:32PM

8
#209 - Casey Dwyer / @caseydwyer

11/04/2013 at 09:44PM

8
#210 - US Dollar Price / @USDollarPrice

11/04/2013 at 10:15PM