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

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

  • Best score: 14
  • Best player score: 19
  • Position: #52 / 217
  • Number of attempts: 6
Rearrange array to one line - 618 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #56 / 153
  • Number of attempts: 2
Deleting text - 255 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 43
  • Position: #16 / 82
  • Number of attempts: 4
Count words - 68 entries

Merge duplicates and count each word.

  • Best score: 39
  • Best player score: 66
  • Position: #13 / 19
  • Number of attempts: 3
Fix the shell script! - 2546 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 27
  • Position: #124 / 591
  • Number of attempts: 10
lc-hanxi
Github:

entered into 5 challenges

contributed 0 challenges