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 - 1092 entries

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

  • Best score: 14
  • Best player score: 18
  • Position: #25 / 184
  • Number of attempts: 4
Copy punctuation - 419 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 30
  • Position: #30 / 106
  • Number of attempts: 2
Replace word while reserving first letter case - 563 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 28
  • Position: #36 / 113
  • Number of attempts: 6
months to html list items - 957 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 26
  • Position: #137 / 254
  • Number of attempts: 2
Inverting Lines - 1881 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 12
  • Position: #303 / 508
  • Number of attempts: 3
Meya
Github:

entered into 5 challenges

contributed 0 challenges