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 - 1502 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: #58 / 249
  • Number of attempts: 6
Rearrange array to one line - 707 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #64 / 170
  • Number of attempts: 2
Deleting text - 278 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 43
  • Position: #18 / 92
  • Number of attempts: 4
Count words - 80 entries

Merge duplicates and count each word.

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

Fix the shell script with the fewest keystrokes!

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

entered into 5 challenges

contributed 0 challenges