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

The goal is to see the replacement commands in action.

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 24
  • Position: #107 / 245
  • Number of attempts: 2
Rural Post - 4342 entries

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

  • Best score: 9
  • Best player score: 14
  • Position: #692 / 1062
  • Number of attempts: 1
Satisfy the go linter - 2144 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: #291 / 432
  • Number of attempts: 4
Multiline to Single Line - 594 entries

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

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

Complete golang import statement.

  • Best score: 22
  • Best player score: 25
  • Position: #35 / 56
  • Number of attempts: 6
V to the i - 4743 entries

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

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

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

  • Best score: 13
  • Best player score: 13
  • Position: #259 / 742
  • Number of attempts: 6
Learn some german verbs - 529 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: #128 / 130
  • Number of attempts: 1
Remove quotes after first field - 343 entries

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

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

Put hyphens everywhere.

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

Insert blank lines to make it more organized and readable

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

entered into 12 challenges

contributed 0 challenges