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

simple replacements - 1706 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Position: #15 / 377
  • Number of attempts: 4
Python dataclasses - 1120 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 24
  • Position: #133 / 280
  • Number of attempts: 2
Rural Post - 4410 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 14
  • Position: #705 / 1083
  • Number of attempts: 1
Satisfy the go linter - 2350 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 27
  • Position: #314 / 462
  • Number of attempts: 4
Multiline to Single Line - 679 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #165 / 297
  • Number of attempts: 3
Quote modules (ver.2) - 224 entries

Complete golang import statement.

  • Best score: 22
  • Best player score: 25
  • Position: #36 / 58
  • Number of attempts: 6
V to the i - 4761 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #778 / 1883
  • Number of attempts: 4
Extract argument from function - 2321 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 13
  • Position: #259 / 747
  • Number of attempts: 6
Learn some german verbs - 531 entries

The list needs to be structured so we can print in verbatim and feel ok about how it looks.

  • Best score: 21
  • Best player score: 196
  • Position: #129 / 131
  • Number of attempts: 1
Remove quotes after first field - 367 entries

Remove the quotes around each field except for the first field.

  • Best score: 16
  • Best player score: 16
  • Position: #27 / 90
  • Number of attempts: 11
-a-b-c- - 3181 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #307 / 1131
  • Number of attempts: 3
Make it more readable - 1953 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 13
  • Position: #107 / 641
  • Number of attempts: 6
Joshua Marple
Twitter:

entered into 12 challenges

contributed 0 challenges