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 - 4824 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1137 / 1899
  • Number of attempts: 1
Vim's not included features - 244 entries

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

  • Best score: 23
  • Best player score: 34
  • Position: #48 / 66
  • Number of attempts: 2
comments galore - 1069 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #338 / 428
  • Number of attempts: 1
lipsum lines - 278 entries

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

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

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Position: #1050 / 1192
  • Number of attempts: 1
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #813 / 1138
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1616 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: #431 / 447
  • Number of attempts: 1
Let's play some Ivmgolf - 1126 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 12
  • Position: #404 / 447
  • Number of attempts: 1
Append semicolon after expressions - 1057 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #345 / 420
  • Number of attempts: 2
remove dupes from array - 1358 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: #231 / 336
  • Number of attempts: 1
Change the content of a string - 1646 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 25
  • Position: #391 / 607
  • Number of attempts: 1
Sort and add attributes - 1499 entries

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

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

Full Stack Web Developer

entered into 12 challenges

contributed 0 challenges