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

A simple everyday task.

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

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #129 / 190
  • Number of attempts: 2
Replace csv column if it's not empty - 248 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 / 83
  • Number of attempts: 2
Convert plain text into a markdown table - 75 entries

Convert the table to markdown to make it more usable

  • Best score: 56
  • Best player score: 170
  • Position: #19 / 25
  • Number of attempts: 1
Copy punctuation - 655 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: #104 / 158
  • Number of attempts: 1
Deleting text - 309 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #55 / 99
  • Number of attempts: 3
Format a long line - 105 entries

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

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

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

  • Best score: 5
  • Best player score: 5
  • Position: #335 / 437
  • 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? - 758 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 65
  • Position: #143 / 200
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7389 entries

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

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

entered into 14 challenges

contributed 0 challenges