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):
6
#31 - Benoit Thiell / @benoitthiell

07/20/2012 at 01:35PM

6
#32 - Jordan Eldredge / @captbaritone

07/29/2012 at 03:48PM

6
#33 - Ryan Patterson / @CGamesPlay

07/29/2012 at 09:42PM

6
#34 - Greg Sexton / @greg_sexton

08/05/2012 at 10:17AM

6
#35 - Jaime A. Sánchez / @jashbeta

08/10/2012 at 08:13PM

6
#36 - Sean Griffin / @sgrif

08/13/2012 at 02:44AM

6
#37 - Reed Riley / @ReedRile

08/13/2012 at 06:35PM

6
#38 -  Ikhsan Maulana / @ixandidu

08/18/2012 at 03:12PM

6
#39 - Emile Swarts / @EmileSwarts

08/19/2012 at 12:40PM

6
#40 - retired account / @retired10072015

08/20/2012 at 10:39AM

6
#41 - Arto Vuori / @dhpe

08/31/2012 at 07:28PM

6
#42 - Joseph J. Piché / @jjpiche

09/02/2012 at 04:15PM

6
#43 - Conner McDaniel / @connermcd

09/18/2012 at 04:32AM

6
#44 - Victor Ramirez / @virako

10/01/2012 at 01:09PM

6
#45 - Vim rocks / @vimrocks

10/07/2012 at 07:30PM

6
#46 - Dan Goldstein / @dggoldst

10/15/2012 at 08:31PM

6
#47 - Adelar S. Queiróz / @adelarsq

11/30/2012 at 12:42AM

6
#48 - Yann Moisan / @YannMoisan

01/05/2013 at 01:06PM

6
#49 - Daniel Hahler / @blueyed

01/22/2013 at 08:38PM

6
#50 - Steve Tjoa / @stevetjoa

02/08/2013 at 08:23PM

6
#51 - jared miller / @jared_vim

03/03/2013 at 12:14AM

6
#52 - Joel Elkins / @dice_tea

03/05/2013 at 06:24AM

6
#53 - Trevor Powell / @DoomedBunnies

03/20/2013 at 01:36AM

6
#54 - Global Maquereau / @GlobalMaquereau

04/24/2013 at 03:13PM

6
#55 - Al Stanforth / @AlStanforth

05/01/2013 at 03:37PM

6
#56 - sweet.mike.vg / @SweetMikeVg

05/02/2013 at 12:47AM

6
#57 - Justin / @justinjaffray

05/02/2013 at 01:54AM

6
#58 - Marco Hinz / @_mhinz_

05/23/2013 at 03:33PM

6
#59 - Tom User / @kiryph

05/30/2013 at 05:25PM

6
#60 - M8R eonxi21 / @eonxi21

06/01/2013 at 11:39PM