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 5b71fa9105b5ca000ce4a7a1

convert yml into java pojo field

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

Start file
- browser: Chrome
  browserVersion: 63
  os: window7
  osVersion: 2012
  lang: en
End file
private String browser;
private String browserVersion;
private String os;
private String osVersion;
private String lang;

View Diff

1,5c1,5
< - browser: Chrome
<   browserVersion: 63
<   os: window7
<   osVersion: 2012
<   lang: en
---
> private String browser;
> private String browserVersion;
> private String os;
> private String osVersion;
> private String lang;

Solutions by @mcguire:

Unlock 14 remaining solutions by signing in and submitting your own entry
Created by: @saurabh908583

227 active golfers, 857 entries

Solutions by @mcguire:
29
#53 - TimMcGuire / @mcguire

12/25/2018 at 07:21PM

29
#>53 - TimMcGuire / @mcguire

12/25/2018 at 07:22PM

29
#>53 - TimMcGuire / @mcguire

01/14/2019 at 07:20PM

30
#>109 - TimMcGuire / @mcguire

12/25/2018 at 07:17PM

31
#>140 - TimMcGuire / @mcguire

12/25/2018 at 07:16PM

31
#>141 - TimMcGuire / @mcguire

01/14/2019 at 07:13PM

32
#>154 - TimMcGuire / @mcguire

12/25/2018 at 07:12PM

33
#>165 - TimMcGuire / @mcguire

12/25/2018 at 07:10PM

34
#>177 - TimMcGuire / @mcguire

12/25/2018 at 07:04PM

35
#>183 - TimMcGuire / @mcguire

12/25/2018 at 03:32PM

35
#>183 - TimMcGuire / @mcguire

01/14/2019 at 07:08PM

37
#>200 - TimMcGuire / @mcguire

12/25/2018 at 03:30PM

42
#>220 - TimMcGuire / @mcguire

12/25/2018 at 03:27PM

64
#>226 - TimMcGuire / @mcguire

01/14/2019 at 07:05PM