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

A simple everyday task.

  • Best score: 38
  • Best player score: 75
  • Position: #283 / 411
  • Number of attempts: 1
Reordering properties - 1371 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 43
  • Position: #59 / 297
  • Number of attempts: 14
YAML to dotenv - 1627 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 17
  • Position: #78 / 339
  • Number of attempts: 15
Generate an entry for each month - 387 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 38
  • Position: #31 / 97
  • Number of attempts: 5
Fix the git merge conflicts - 350 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 55
  • Position: #43 / 105
  • Number of attempts: 6
Fix the Scala Method - 374 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 2
  • Best player score: 22
  • Position: #17 / 123
  • Number of attempts: 7
extract struct tag in go - 164 entries

Can you extract all struct tags in the fewest keystrokes possible?

  • Best score: 29
  • Best player score: 52
  • Position: #34 / 49
  • Number of attempts: 1
A Simple One - 1091 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #587 / 680
  • Number of attempts: 1
Hatsuyume - 582 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 15
  • Best player score: 16
  • Position: #17 / 194
  • Number of attempts: 15
Simple text editing with Vim - 13626 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #2070 / 3902
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7681 entries

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

  • Best score: 7
  • Best player score: 37
  • Position: #620 / 1889
  • Number of attempts: 6

Contributed Challenges

Create json from a .env file - 1682 entries

A simple everyday task.

Michael Cuffaro
Github:

entered into 11 challenges

contributed 1 challenges