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

The Fibonacci Spacer - 52 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 25
  • Best player score: 47
  • Position: #11 / 19
  • Number of attempts: 4
Replace markdown sections with numbering - 144 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 73
  • Position: #25 / 43
  • Number of attempts: 2
Rearrange array to single level - 1298 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: #34 / 205
  • Number of attempts: 4
Copy punctuation - 487 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: #34 / 121
  • Number of attempts: 2
Replace word while reserving first letter case - 604 entries

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

  • Best score: 24
  • Best player score: 28
  • Position: #40 / 118
  • Number of attempts: 6
months to html list items - 1010 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 26
  • Position: #144 / 274
  • Number of attempts: 2
Inverting Lines - 1900 entries

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

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

entered into 7 challenges

contributed 0 challenges