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

The goal is to see the replacement commands in action.

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 24
  • Position: #80 / 183
  • Number of attempts: 2
Rural Post - 4152 entries

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

  • Best score: 9
  • Best player score: 14
  • Position: #662 / 1029
  • Number of attempts: 1
Satisfy the go linter - 2031 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: #275 / 412
  • Number of attempts: 4
Multiline to Single Line - 552 entries

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

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

Complete golang import statement.

  • Best score: 22
  • Best player score: 25
  • Position: #32 / 52
  • Number of attempts: 6
V to the i - 4647 entries

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

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

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

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

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

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

Put hyphens everywhere.

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

Insert blank lines to make it more organized and readable

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

entered into 12 challenges

contributed 0 challenges