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

prepend * to every non-blank line - 6380 entries

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

  • Best score: 10
  • Best player score: 47
  • Position: #1544 / 1557
  • Number of attempts: 1
Swap values inside brackets - 2539 entries

Easy challenge.

  • Best score: 13
  • Best player score: 30
  • Position: #552 / 590
  • Number of attempts: 4
Add string initializers to an enum - 899 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 108
  • Position: #263 / 264
  • Number of attempts: 2
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2701 / 3087
  • Number of attempts: 1
Copy three lines - 2882 entries

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

  • Best score: 13
  • Best player score: 36
  • Position: #618 / 642
  • Number of attempts: 1
Collect List - 4317 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 22
  • Position: #1148 / 1194
  • Number of attempts: 2
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 29
  • Position: #4109 / 4208
  • Number of attempts: 2
Sergio Soares
Twitter:

entered into 7 challenges

contributed 0 challenges