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 - 1802 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: #68 / 303
  • Number of attempts: 6
Rearrange array to one line - 855 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #79 / 201
  • Number of attempts: 2
Deleting text - 337 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 43
  • Position: #22 / 108
  • Number of attempts: 4
Count words - 120 entries

Merge duplicates and count each word.

  • Best score: 39
  • Best player score: 66
  • Position: #18 / 26
  • Number of attempts: 3
Fix the shell script! - 2676 entries

Fix the shell script with the fewest keystrokes!

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

entered into 5 challenges

contributed 0 challenges