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

Create json from a .env file - 1463 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 60
  • Position: #168 / 340
  • Number of attempts: 3
Change class fields from snake case to camel case - 290 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 13
  • Position: #56 / 108
  • Number of attempts: 1
Reorganize Pokémon - 736 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #135 / 204
  • Number of attempts: 2
Replace csv column if it's not empty - 255 entries

Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched

  • Best score: 15
  • Best player score: 15
  • Position: #30 / 87
  • Number of attempts: 2
Convert plain text into a markdown table - 84 entries

Convert the table to markdown to make it more usable

  • Best score: 56
  • Best player score: 170
  • Position: #21 / 27
  • Number of attempts: 1
Copy punctuation - 679 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 43
  • Position: #106 / 164
  • Number of attempts: 1
Deleting text - 326 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #56 / 102
  • Number of attempts: 3
Format a long line - 125 entries

Reformat long lines (gq), textwidth=78, no trailing spaces.

  • Best score: 17
  • Best player score: 31
  • Position: #25 / 34
  • Number of attempts: 2
Wrap the text of an email message to 79 characters - 848 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #335 / 439
  • Number of attempts: 1
The meaning - 577 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #328 / 364
  • Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 1011 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 24
  • Position: #76 / 194
  • Number of attempts: 2
remove dupes from array - 1360 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: 43
  • Position: #322 / 337
  • Number of attempts: 2
Remember FizzBuzz? - 769 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 65
  • Position: #144 / 202
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7464 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 52
  • Position: #1518 / 1837
  • Number of attempts: 2
Henry Coggins
Github:

entered into 14 challenges

contributed 0 challenges