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

Easier Align - 291 entries

Align the columns of a markdown table

  • Best score: 57
  • Best player score: 153
  • Position: #36 / 85
  • Number of attempts: 5
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: 16
  • Position: #115 / 465
  • Number of attempts: 6
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: 28
  • Position: #47 / 106
  • Number of attempts: 4
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: 43
  • Position: #265 / 318
  • Number of attempts: 1
jon smith
Twitter:

entered into 4 challenges

contributed 0 challenges