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

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

  • Best score: 14
  • Best player score: 35
  • Position: #157 / 204
  • Number of attempts: 2
Rearrange array to one line - 600 entries

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

  • Best score: 13
  • Best player score: 30
  • Position: #125 / 143
  • Number of attempts: 1
Find fix point of cos - 1397 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 14
  • Position: #72 / 411
  • Number of attempts: 6
Many duplicates - 1445 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #305 / 468
  • Number of attempts: 4
delete swap - 1783 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #365 / 555
  • Number of attempts: 7
damned-me
Github:

entered into 5 challenges

contributed 0 challenges