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

citizen_hacks_2019_part1

For the Citizen Hacks 2019 Vim competition

Start file
// Part 1: The Idea

/* The following challenges will cover how Citizen Hacks was created. Good Luck!
Part 1:  The Idea.
Part 2:  Assembling the Team.
Part 3:  Finding Sponsors.
Part 4:  Contacting Sponsors.
Part 5:  Bad News.
Part 6:  A New Hope.
Part 7:  Applications.
Part 8:  Handling Logistics.
Part 9:  The Welcome Party.
*/

const YEAR = 2018

let group = ['Marcel','Mio','Benn']

let add_member = (group, name) => {
  group.push(name);
  console.log(`Added ${name}`);
};

let add_members = (group, names) => {
  names.forEach((name) => {
    add_member(group, name);
  });
};
End file
// Part 1: The Idea

/* The following challenges will cover how Citizen Hacks was created. Good Luck!
CH Part 1: The Idea
CH Part 2: Assembling the Team
CH Part 3: Finding Sponsors
CH Part 4: Contacting Sponsors
CH Part 5: Bad News
CH Part 6: A New Hope
CH Part 7: Applications
CH Part 8: Handling Logistics
CH Part 9: The Welcome Party
*/

const YEAR = 2018;
const MONTH = 'June';

let group = ['Marcel', 'Mio', 'Benn'];

let add_member = (group, name) => {
  group.push(name);
  console.log(`Added ${name}`);
};

let add_members = (group, names) => {
  names.forEach((name) => {
    add_member(group, name);
  });
};

View Diff

4,12c4,12
< CH Part 1: The Idea
< CH Part 2: Assembling the Team
< CH Part 3: Finding Sponsors
< CH Part 4: Contacting Sponsors
< CH Part 5: Bad News
< CH Part 6: A New Hope
< CH Part 7: Applications
< CH Part 8: Handling Logistics
< CH Part 9: The Welcome Party
---
> Part 1:  The Idea.
> Part 2:  Assembling the Team.
> Part 3:  Finding Sponsors.
> Part 4:  Contacting Sponsors.
> Part 5:  Bad News.
> Part 6:  A New Hope.
> Part 7:  Applications.
> Part 8:  Handling Logistics.
> Part 9:  The Welcome Party.
15,16c15
< const YEAR = 2018;
< const MONTH = 'June';
---
> const YEAR = 2018
18c17
< let group = ['Marcel', 'Mio', 'Benn'];
---
> let group = ['Marcel','Mio','Benn']

Solutions by @tanzeelkazi:

Unlock 3 remaining solutions by signing in and submitting your own entry
Created by: @curtischong5

14 active golfers, 36 entries

Solutions by @tanzeelkazi:
52
#2 - Tanzeel Kazi / @tanzeelkazi

08/26/2020 at 04:50PM

53
#>3 - Tanzeel Kazi / @tanzeelkazi

08/26/2020 at 01:56PM

55
#>7 - Tanzeel Kazi / @tanzeelkazi

08/26/2020 at 01:43PM