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

From brakets to parens - 933 entries

This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.

  • Best score: 24
  • Best player score: 26
  • Position: #67 / 216
  • Number of attempts: 10
Changing date formats - 689 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 79
  • Position: #97 / 190
  • Number of attempts: 5
YAML to dotenv - 1476 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 16
  • Position: #52 / 301
  • Number of attempts: 9
Change to ascending order - 487 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 285
  • Position: #116 / 120
  • Number of attempts: 1
Swap columns and transform to CSV format - 426 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 17
  • Position: #67 / 154
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7514 entries

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

  • Best score: 7
  • Best player score: 34
  • Position: #337 / 1850
  • Number of attempts: 3
Tim Rutter
Github:

entered into 6 challenges

contributed 0 challenges