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

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 25
  • Position: #103 / 161
  • Number of attempts: 2
Inverting Lines - 1009 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #29 / 274
  • Number of attempts: 4
CSV to MD format - 190 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 40
  • Position: #13 / 49
  • Number of attempts: 4
Python dataclasses - 424 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 32
  • Position: #89 / 120
  • Number of attempts: 2
Modernise code - 659 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 53
  • Position: #117 / 153
  • Number of attempts: 1
HS Final exam vimgolf - 578 entries

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

  • Best score: 21
  • Best player score: 41
  • Position: #128 / 156
  • Number of attempts: 1
Rural Post - 3797 entries

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

  • Best score: 9
  • Best player score: 13
  • Position: #533 / 938
  • Number of attempts: 2
Simple, Practical, and Common - 32778 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 30
  • Position: #5117 / 7242
  • Number of attempts: 2
Swap values inside brackets - 2417 entries

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Position: #228 / 557
  • Number of attempts: 4
sort python functions and methods alphabetically - 18 entries

* sort functions in the python file alphabetically * sort functions within a Class alphabetically * sort Classes alphabetically

  • Best score: 20
  • Best player score: 26
  • Position: #11 / 11
  • Number of attempts: 1
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2666 / 3906
  • Number of attempts: 2
foobarbazqux12345
Twitter:

entered into 11 challenges

contributed 0 challenges