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

The goal is to see the replacement commands in action.

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 24
  • Position: #92 / 205
  • Number of attempts: 2
Rural Post - 4257 entries

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

  • Best score: 9
  • Best player score: 14
  • Position: #675 / 1045
  • Number of attempts: 1
Satisfy the go linter - 2076 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: #282 / 422
  • Number of attempts: 4
Multiline to Single Line - 585 entries

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

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

Complete golang import statement.

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

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

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

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

  • Best score: 13
  • Best player score: 13
  • Position: #259 / 737
  • Number of attempts: 6
Learn some german verbs - 527 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: #127 / 129
  • Number of attempts: 1
Remove quotes after first field - 332 entries

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

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

Put hyphens everywhere.

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

Insert blank lines to make it more organized and readable

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

entered into 12 challenges

contributed 0 challenges