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 [challenge ID]

Played Challenges

Add string initializers to an enum - 631 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 108
  • Number of attempts: 2
Add semicolons - 8251 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Number of attempts: 1
Swap values inside brackets - 2160 entries

Easy challenge.

  • Best score: 14
  • Best player score: 30
  • Number of attempts: 4
prepend * to every non-blank line - 3407 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 47
  • Number of attempts: 1
Collect List - 3932 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 22
  • Number of attempts: 2
I forgot quotes - 14504 entries

Oops.

  • Best score: 10
  • Best player score: 29
  • Number of attempts: 2
Copy three lines - 2483 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 36
  • Number of attempts: 1
Sergio Soares
Twitter:

entered into 7 challenges

contributed 0 challenges