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 - 1570 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: #60 / 262
  • Number of attempts: 6
Rearrange array to one line - 724 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #66 / 176
  • Number of attempts: 2
Deleting text - 296 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 43
  • Position: #20 / 96
  • Number of attempts: 4
Count words - 83 entries

Merge duplicates and count each word.

  • Best score: 39
  • Best player score: 66
  • Position: #14 / 21
  • Number of attempts: 3
Fix the shell script! - 2606 entries

Fix the shell script with the fewest keystrokes!

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

entered into 5 challenges

contributed 0 challenges