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

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Position: #12 / 129
  • Number of attempts: 10
Inverting Lines - 832 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #44 / 232
  • Number of attempts: 5
CSV to MD format - 163 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 36
  • Position: #4 / 43
  • Number of attempts: 13
Python dataclasses - 346 entries

Simple challenge to extract fields from a Python class

  • Best score: 9
  • Best player score: 19
  • Position: #11 / 97
  • Number of attempts: 3
RUST Cargo.toml version to last - 168 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #10 / 53
  • Number of attempts: 5
RUST match with enum for Coin - 109 entries

RUST match with enum for Coin rusty practice on vimgolf

  • Best score: 85
  • Best player score: 127
  • Position: #25 / 32
  • Number of attempts: 2
Modernise code - 588 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #30 / 137
  • Number of attempts: 11
HS Final exam vimgolf - 539 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
  • Position: #46 / 147
  • Number of attempts: 11
Add quotes to ansible playbook - 537 entries

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

  • Best score: 8
  • Best player score: 8
  • Position: #38 / 176
  • Number of attempts: 4
Multiline to Single Line - 341 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #116 / 162
  • Number of attempts: 2
xrandr outputs and dashes - 528 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
  • Position: #111 / 175
  • Number of attempts: 2
Five Pillars - 60 entries

Arrange all words in a table with 5 columns. The minimal space between words in columns is 2 spaces. Columns do have varying width.

  • Best score: 41
  • Best player score: 56
  • Position: #7 / 22
  • Number of attempts: 4
maxtong
Twitter:

entered into 12 challenges

contributed 0 challenges