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

A simple everyday task.

  • Best score: 39
  • Best player score: 52
  • Position: #71 / 181
  • Number of attempts: 5
YAML to dotenv - 1000 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 24
  • Position: #114 / 217
  • Number of attempts: 4
Change class fields from snake case to camel case - 246 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #54 / 94
  • Number of attempts: 5
Format a long line - 99 entries

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

  • Best score: 17
  • Best player score: 27
  • Position: #16 / 31
  • Number of attempts: 2
Mirror image - 101 entries

Add the second eye

  • Best score: 15
  • Best player score: 17
  • Position: #9 / 33
  • Number of attempts: 6
Wrap the text of an email message to 79 characters - 822 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #333 / 429
  • Number of attempts: 3
A grid of punctuation - 140 entries

Create a checkerboard of = and - in an 80×24 grid!

  • Best score: 16
  • Best player score: 18
  • Position: #42 / 62
  • Number of attempts: 3
REDRUM - 175 entries

If you remember "The Shinning", the first time you saw the bloody word REDRUM you probably thinked "What the Hell is that?" Well, then you know that you need a little help from a looking-glass to make sense of it. Now it's time to use vim like a mirror to reveal the message.

  • Best score: 14
  • Best player score: 14
  • Position: #24 / 67
  • Number of attempts: 3
Reformat long lines - 367 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 15
  • Position: #32 / 136
  • Number of attempts: 6
Change the content of a string - 1659 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #250 / 612
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7258 entries

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

  • Best score: 10
  • Best player score: 35
  • Position: #409 / 1790
  • Number of attempts: 3
raylmorris
Github:

entered into 11 challenges

contributed 0 challenges