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

Fill visual area - 70 entries

Just have fun!

  • Best score: 20
  • Best player score: 64
  • Number of attempts: 2
Vim's not included features - 150 entries

Filter not included (-) features in a hypothetical installation of vim.

  • Best score: 23
  • Best player score: 41
  • Number of attempts: 4
Hatsuyume - 360 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 16
  • Best player score: 29
  • Number of attempts: 1
Refactor static member invocation - 174 entries

Someone used a static method. Refactor the method into a static import while fixing the assertion.

  • Best score: 28
  • Best player score: 28
  • Number of attempts: 5
Python to Ruby - 188 entries

Convert this Python code to Ruby. NOTE: This program likely won't run.

  • Best score: 24
  • Best player score: 25
  • Number of attempts: 12
Where should I put the Newline? - 785 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Entries sort - 71 entries

It cames to my mind a weird idea : sorting parts of my .vimrc. Take few minutes to sort out this, it's easy !

  • Best score: 14
  • Best player score: 21
  • Number of attempts: 4
Reformat long lines - 312 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 5
Count both ways - 854 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 3
Mirror Symmetry - 686 entries

Add backslashes.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
That hyphen - 1992 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 5
Numbering a List - 1716 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 5
Collect List - 3303 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 1
Circle of Fifths with Sharps - 61 entries

Display a list of the Circle of Fifths with corresponding solfege syllables with sharps. Handling spaces may be tricky.

  • Best score: 24
  • Best player score: 24
  • Number of attempts: 7
Gray area - 614 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
ASCII box - 295 entries

Don't forget to fix typos!

  • Best score: 23
  • Best player score: 23
  • Number of attempts: 2
Anton Davydov
Twitter:

Rubyist. Space-Rocket ship builder. @sidekiq committer, @hanamirb core. @rubyunderhood curator. Vim adept. DnD fan.

entered into 16 challenges

contributed 0 challenges