### Real Vim ninjas count every keystroke - do you?

###### Pick a challenge, fire up Vim, and show us what you got.

```Your VimGolf key: please sign in

\$ gem install vimgolf
\$ vimgolf setup
\$ vimgolf put 553b97364ba96c319d0296eb
```

##### Start file
```J=J-y(i)*log(h)-(1-y(i))*log(1-h)+(lambda/2)*sumtheta2;
```
##### End file
```J = J - y(i) * log(h) - (1 - y(i)) * log(1 - h) + (lambda / 2) * sumtheta2;
```

#### View Diff

```diff --git a/vimgolf2-in b/vimgolf2-out
index 3babd97..ddbb1af 100644
--- a/vimgolf2-in
+++ b/vimgolf2-out
@@ -1 +1 @@
-J=J-y(i)*log(h)-(1-y(i))*log(1-h)+(lambda/2)*sumtheta2;
+J = J - y(i) * log(h) - (1 - y(i)) * log(1 - h) + (lambda / 2) * sumtheta2;
```

### 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 109 remaining solutions by signing in and submitting your own entry
###### #110 Jack Z / itszhou - Score: 19 - 06/28/15 @ 16:07
```:s/[-+*/=]/ & /g<CR>ZZ
```

###### #111 Teemu Okkonen / TeemuOkkonen - Score: 19 - 07/08/15 @ 21:17
```:s#[/=*+-]# & #g<CR>ZZ
```

###### #112 Endre Galaczi / galacziendre - Score: 19 - 08/07/15 @ 13:17
```:s%[+*/=-]% & %g<CR>ZZ
```

###### #113 Walker Boh / walker_boh - Score: 19 - 10/05/15 @ 14:15
```:s#[-+=*/]# & #g<CR>ZZ
```

###### #114 Domingue Justin / _jdomingue - Score: 19 - 10/16/15 @ 15:01
```:s:[+-/*=]: & :g<CR>ZZ
```

###### #115 Bogumił Kamiński / BogumilKaminski - Score: 19 - 10/26/15 @ 21:03
```:s?[-=+*/]? & ?g<CR>ZZ
```

###### #116 David Mauskop / mauskop - Score: 19 - 11/15/15 @ 16:40
```:s/[-=+*/]/ & /g<CR>ZZ
```

###### #117 Cristian Lupașcu / clupasq - Score: 19 - 02/22/16 @ 15:46
```:s/[=<kPlus><kMultiply><kDivide><kMinus>]/ & /g<CR>ZZ
```

###### #118 Dimitar Dimitrov / kurkale6ka - Score: 19 - 03/16/16 @ 11:46
```:s:[-*+=/]: & :g|x<CR>
```

###### #119 Will / obiwan__k3n00bi - Score: 19 - 10/15/16 @ 18:22
```:s/[-=*+/]/ & /g<CR>ZZ
```

###### #120 Michał Dytko / DytkoM - Score: 19 - 12/28/16 @ 10:29
```:s/[/=*+-]/ & /g<CR>ZZ
```

###### #121 Gurukandhamoorthi / Gurukandhamoor1 - Score: 19 - 07/15/17 @ 16:31
```:s:[-=+/*]: & :g<CR>ZZ
```

###### #122 Joe Heywood / joehabsjoe - Score: 19 - 01/30/18 @ 22:28
```:s/[-+*/=]/ & /g<CR>ZZ
```

###### #123 DHM / DHM29978992 - Score: 19 - 04/30/18 @ 17:24
```:s/[-=+*/]/ & /g<CR>ZZ
```

###### #124 Daniel Byron / dansolo17 - Score: 20 - 04/27/15 @ 11:01
```:s/[-+=/*]/ \0 /g|x<CR>
```

###### #125 Kevin Ilphrin Pellet / Kilphrin - Score: 20 - 05/03/15 @ 09:14
```:s![-=+*/]! & !g<CR>:x<CR>
```

###### #126 Mauro Persano / fzort - Score: 20 - 05/23/15 @ 16:30
```:s/[-+*\/=]/ & /g<CR>ZZ
```

###### #127 Andrew Reece / azmreece - Score: 20 - 09/11/15 @ 13:48
```::s;[-+=*/]; & ;g<CR>ZZ
```

###### #128 Brian Olpin / bolpin - Score: 21 - 04/28/15 @ 21:26
```:s;[-+=/*]; & ;g<CR>:wq<CR>
```

###### #129 shugen / shugeno - Score: 21 - 05/04/15 @ 19:59
```:s/[-\+\/=*]/ & /g<CR>ZZ
```

###### #130 luffy / raxcoi - Score: 21 - 05/12/15 @ 15:27
```:s/[=*+\-\/]/ & /g<CR>ZZ
```

###### #131 Ásgeir Bjarnason / abjarnasn - Score: 21 - 07/25/15 @ 15:47
```:s/[-+=*/]/ g<BS>& /g|x<CR>
```

###### #132 [Esc],[Z],[Z] / dvvrt - Score: 22 - 07/31/15 @ 06:27
```:s![+*/=-]! & !g | wq<CR>
```

###### #133 Yann Moisan / YannMoisan - Score: 24 - 04/25/15 @ 13:47
```:s/\([*/=+-]\)/ \1 /g<CR>ZZ
```

###### #134 Steven Craft / stevenjohncraft - Score: 24 - 05/26/15 @ 11:18
```:s/\([*/=<kPlus><kMinus>]\)/ \1 /g<CR>ZZ
```

###### #135 Michael Cordell / mike_cordell - Score: 27 - 04/25/15 @ 19:44
```:s/\([*=+\/-]\)/ \1 /g<CR>:wq<CR>
```

###### #136 Ivan Kasatenko / sky31338 - Score: 28 - 05/09/15 @ 16:26
```:%s/\([\-\+*/=]\)/ \1 /g<CR>:x<CR>
```

###### #137 Personal Life Trackr / PersLifeTrackr - Score: 53 - 05/24/15 @ 21:25
```a <Esc>w.w.w.f).w.f).w.f1.w.5l.w.5l.w.2l.w.fafa.w.2l.w.ZZ
```

## 137 active golfers, 278 entries

18
###### #61 - Ralf Gueldemeister / rgueldem

09/24/2015 at 11:50PM

18
###### #62 - Mikael Saltzman / MikaelSaltzman

09/27/2015 at 11:20AM

18
###### #63 - Mike Adams / davis_cromwell

10/02/2015 at 04:52PM

18
###### #64 - Jon Krause / jkrause314

10/17/2015 at 02:34AM

18
###### #65 - Árpád Krejczinger / krarpi

11/11/2015 at 02:15PM

18
###### #66 - Aleksey Zhidkov / AlexeyZhidkov

02/24/2016 at 11:23AM

18
###### #67 - T. Sakuma / taku39

05/05/2016 at 02:48PM

18
###### #68 - Jordan Wightman / tuo2

08/13/2016 at 12:37PM

18
###### #69 - Daniel / Daniel00288663

03/31/2017 at 07:17AM

18
###### #70 - Daniel Capo Sobral / dcsobral

05/26/2017 at 11:18PM

18
###### #71 - Ben Hill / KaizenSoze70

09/26/2017 at 01:18PM

18
###### #72 - Turkey Man / lvturkeyman

11/25/2017 at 04:42AM

18
###### #73 - BarbaJol / drpproteus

01/09/2018 at 05:21PM

18

05/08/2018 at 04:26PM

18
###### #75 - Daniël De Koker / daniel_koker

07/17/2018 at 08:07AM

19
###### #76 - Assaf Lavie / AssafLavie

04/25/2015 at 04:00PM

19
###### #77 - vgmct / vgmct

04/25/2015 at 05:18PM

19
###### #78 - Michael Cramer / mlcramer

04/25/2015 at 07:14PM

19
###### #79 - Jerome Korlowski / nolifish

04/25/2015 at 07:29PM

19
###### #80 - E Both / enboth

04/25/2015 at 08:38PM

19
###### #81 - chvzvhn / chvzvhn

04/25/2015 at 10:20PM

19
###### #82 - Gammelin Guillaume / ggammelin

04/26/2015 at 08:23AM

19
###### #83 - Chase Vasic / ChaseVasic

04/26/2015 at 10:07AM

19
###### #84 - ushumpei / ushumpei_

04/26/2015 at 01:16PM

19
###### #85 - Kevin Yokley / kyokley19

04/26/2015 at 11:54PM

19
###### #86 - mnx / mnxx

04/27/2015 at 09:41AM

19

04/27/2015 at 11:07AM

19
###### #88 - Matthieu Crapet / mcr05

04/27/2015 at 02:21PM

19
###### #89 - ipson_nek / ipson_nek

04/27/2015 at 04:23PM

19
###### #90 - Aludirk Wong / Aludirk

04/28/2015 at 02:56PM