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

Rearrange array to single level - 965 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 22
  • Position: #55 / 164
  • Number of attempts: 2
Quicksort - 1838 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: 27
  • Position: #282 / 403
  • Number of attempts: 2
Paste a column after a column - 2477 entries

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

  • Best score: 14
  • Best player score: 37
  • Position: #430 / 535
  • Number of attempts: 1
Fizzbuzz - 556 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 45
  • Best player score: 81
  • Position: #95 / 165
  • Number of attempts: 1
Simple, Practical, and Common - 33528 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: 24
  • Position: #3107 / 7396
  • Number of attempts: 2
ericlovesmath
Github:

entered into 5 challenges

contributed 0 challenges