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

Paste a column after a column - 636 entries

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

  • Best score: 14
  • Best player score: 18
  • Position: #60 / 144
  • Number of attempts: 3
Filter number combinations that don't add to 11 - 97 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: 29
  • Position: #22 / 37
  • Number of attempts: 3
HS exam question - 1041 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 49
  • Position: #34 / 282
  • Number of attempts: 23
Reformat symbols in list - 919 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #57 / 213
  • Number of attempts: 12
Substraction (bis) - 343 entries

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

  • Best score: 22
  • Best player score: 23
  • Position: #21 / 74
  • Number of attempts: 15
Changing around text with citations - 188 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 39
  • Position: #32 / 57
  • Number of attempts: 5
Many duplicates - 802 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #160 / 268
  • Number of attempts: 3
2 quick changes and a numbered list - 425 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 41
  • Position: #43 / 101
  • Number of attempts: 13
delete swap - 981 entries

delete all swap

  • Best score: 5
  • Best player score: 10
  • Position: #262 / 320
  • Number of attempts: 2
Fix the shell script! - 1566 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 39
  • Position: #252 / 391
  • Number of attempts: 1
Wikitext headings to markdown - 777 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 20
  • Position: #33 / 169
  • Number of attempts: 7
Com(m)a Trouble - 3491 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 16
  • Position: #472 / 783
  • Number of attempts: 1
Vertical Limit - 2389 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 39
  • Position: #708 / 724
  • Number of attempts: 1
John Huynh
Twitter:

entered into 13 challenges

contributed 0 challenges