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

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 20
  • Number of attempts: 7
Inverting Lines - 519 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Python dataclasses - 129 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 20
  • Number of attempts: 4
RUST Cargo.toml version to last - 134 entries

RUST Cargo.toml version to last. rusty practice on vimgolf

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 4
Modernise code - 443 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 35
  • Number of attempts: 7
HS Final exam vimgolf - 463 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 9
Add quotes to ansible playbook - 449 entries

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

  • Best score: 8
  • Best player score: 9
  • Number of attempts: 3
xrandr outputs and dashes - 498 entries

uh oh, different video drivers identify display outputs with more dashes. Quick, need to change this xrandr script!

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
Remove quotes after first field - 310 entries

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

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 10
Paul Adlene
Twitter:

entered into 9 challenges

contributed 0 challenges