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: 25
  • Number of attempts: 2
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
CSV to MD format - 114 entries

To convert a CSV list to Markdown list

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 32
  • Number of attempts: 2
Modernise code - 443 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 53
  • Number of attempts: 1
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: 41
  • Number of attempts: 1
Rural Post - 3643 entries

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

  • Best score: 9
  • Best player score: 13
  • Number of attempts: 2
Swap values inside brackets - 2403 entries

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 4
sort python functions and methods alphabetically - 14 entries

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

  • Best score: 20
  • Best player score: 26
  • Number of attempts: 1
Simple, Practical, and Common - 32662 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
  • Number of attempts: 2
Words in parens - 12676 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 2
foobarbazqux12345
Twitter:

entered into 11 challenges

contributed 0 challenges