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

A simple everyday task.

  • Best score: 39
  • Best player score: 52
  • Position: #107 / 309
  • Number of attempts: 5
YAML to dotenv - 1255 entries

Convert this YAML config file to a .env file.

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

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

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

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

  • Best score: 17
  • Best player score: 27
  • Position: #18 / 33
  • Number of attempts: 2
Mirror image - 123 entries

Add the second eye

  • Best score: 15
  • Best player score: 17
  • Position: #10 / 36
  • Number of attempts: 6
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: #333 / 437
  • 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 - 1711 entries

This docstring is a complete lie. Fix it.

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

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

  • Best score: 7
  • Best player score: 35
  • Position: #414 / 1825
  • Number of attempts: 3
raylmorris
Github:

entered into 11 challenges

contributed 0 challenges