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

Remove adjacent duplicates - 424 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 24
  • Position: #54 / 112
  • Number of attempts: 3
Rearrange array to single level - 1244 entries

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

  • Best score: 14
  • Best player score: 27
  • Position: #112 / 199
  • Number of attempts: 1
Rearrange array to one line - 578 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 28
  • Position: #120 / 141
  • Number of attempts: 1
Copy punctuation - 479 entries

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

  • Best score: 19
  • Best player score: 45
  • Position: #84 / 118
  • Number of attempts: 1
Fionn Fitzmaurice
Github:

entered into 4 challenges

contributed 0 challenges