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

Surround the 'z' character with brackets, quotes, and print as formatted string. - 465 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #33 / 256
  • Number of attempts: 1
Easier Align - 291 entries

Align the columns of a markdown table

  • Best score: 57
  • Best player score: 438
  • Position: #72 / 85
  • Number of attempts: 1
Paste a column after a column - 2171 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 46
  • Position: #397 / 465
  • Number of attempts: 1
Filter number combinations that don't add to 11 - 357 entries

Append the sum of each line to its end, alongside an equals sign, and remove any that do not sum to 11. The ordering of lines should stay the same. Note that the combinations are semi-arbitrary and not all 4-number combinations are present in the file.

  • Best score: 27
  • Best player score: 27
  • Position: #15 / 106
  • Number of attempts: 5
HS exam question - 1469 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 73
  • Position: #211 / 389
  • Number of attempts: 3
Reformat symbols in list - 1447 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 25
  • Position: #87 / 318
  • Number of attempts: 4
Fizzbuzz - 489 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 93
  • Position: #112 / 153
  • Number of attempts: 1
Substraction (bis) - 559 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 21
  • Best player score: 30
  • Position: #54 / 105
  • Number of attempts: 4
Poorly indented Python comments - 1149 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 37
  • Position: #131 / 199
  • Number of attempts: 2
Making 3 line function a one liner. - 303 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #145 / 193
  • Number of attempts: 1
Modernise code - 1331 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 48
  • Position: #210 / 306
  • Number of attempts: 1
Simple, Practical, and Common - 33354 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: 22
  • Position: #2378 / 7358
  • Number of attempts: 6
One number per line - 18615 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 27
  • Position: #3514 / 3841
  • Number of attempts: 1
Jordan Woods
Twitter2:

entered into 13 challenges

contributed 0 challenges