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

Quicksort - 1962 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 30
  • Position: #328 / 431
  • Number of attempts: 2
Filter number combinations that don't add to 11 - 408 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: #40 / 117
  • Number of attempts: 7
Simple, Practical, and Common - 33616 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: 33
  • Position: #6254 / 7420
  • Number of attempts: 2
One number per line - 18727 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2299 / 3864
  • Number of attempts: 5
Box it - 7905 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 34
  • Position: #1596 / 1876
  • Number of attempts: 2
Just the middle - 11454 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1440 / 4197
  • Number of attempts: 3
Words in parens - 12935 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 24
  • Position: #3742 / 3963
  • Number of attempts: 1
Samuel Lewi H
Twitter:

entered into 7 challenges

contributed 0 challenges