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

V to the i - 4853 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1142 / 1909
  • Number of attempts: 1
Vim's not included features - 256 entries

Filter not included (-) features in a hypothetical installation of vim.

  • Best score: 23
  • Best player score: 34
  • Position: #50 / 68
  • Number of attempts: 2
comments galore - 1079 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #340 / 431
  • Number of attempts: 1
lipsum lines - 296 entries

Convert a quoted block of text into strings in a list.

  • Best score: 28
  • Best player score: 56
  • Position: #95 / 96
  • Number of attempts: 1
Collect List - 4332 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Position: #1054 / 1196
  • Number of attempts: 1
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #816 / 1143
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1628 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 16
  • Position: #434 / 454
  • Number of attempts: 1
Let's play some Ivmgolf - 1145 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 12
  • Position: #409 / 454
  • Number of attempts: 1
Append semicolon after expressions - 1067 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #347 / 423
  • Number of attempts: 2
remove dupes from array - 1362 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 24
  • Position: #232 / 339
  • Number of attempts: 1
Change the content of a string - 1764 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 25
  • Position: #414 / 647
  • Number of attempts: 1
Sort and add attributes - 1568 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 37
  • Position: #488 / 607
  • Number of attempts: 1
Zach Gulde
Twitter:

Full Stack Web Developer

entered into 12 challenges

contributed 0 challenges