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 - 1298 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: #50 / 205
  • Number of attempts: 6
Rearrange array to one line - 602 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #53 / 144
  • Number of attempts: 2
Deleting text - 254 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 43
  • Position: #17 / 81
  • Number of attempts: 4
Count words - 62 entries

Merge duplicates and count each word.

  • Best score: 39
  • Best player score: 66
  • Position: #11 / 17
  • Number of attempts: 3
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

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

entered into 5 challenges

contributed 0 challenges