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

Fix the shell script! - 2681 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 37
  • Position: #388 / 624
  • Number of attempts: 4
simple replacements - 1877 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 38
  • Position: #388 / 402
  • Number of attempts: 5
Python dataclasses - 1253 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 23
  • Position: #148 / 313
  • Number of attempts: 9
Satisfy the go linter - 2485 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: 41
  • Position: #462 / 495
  • Number of attempts: 4
Add quotes to ansible playbook - 1042 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 12
  • Position: #313 / 331
  • Number of attempts: 10
Multiline to Single Line - 754 entries

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

  • Best score: 5
  • Best player score: 9
  • Position: #304 / 322
  • Number of attempts: 6
Delete to the end of the current line - 867 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 12
  • Position: #411 / 417
  • Number of attempts: 1
HYoMo-nim
Github:

entered into 7 challenges

contributed 0 challenges