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

That hyphen - 2572 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #17 / 698
  • Number of attempts: 5
Vim's not included features - 220 entries

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

  • Best score: 23
  • Best player score: 41
  • Position: #58 / 64
  • Number of attempts: 4
Mirror Symmetry - 811 entries

Add backslashes.

  • Best score: 7
  • Best player score: 7
  • Position: #19 / 268
  • Number of attempts: 2
Entries sort - 82 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
  • Position: #38 / 39
  • Number of attempts: 4
Collect List - 4267 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 16
  • Position: #748 / 1188
  • Number of attempts: 1
Fill visual area - 83 entries

Just have fun!

  • Best score: 20
  • Best player score: 64
  • Position: #34 / 37
  • Number of attempts: 2
ASCII box - 333 entries

Don't forget to fix typos!

  • Best score: 23
  • Best player score: 23
  • Position: #2 / 106
  • Number of attempts: 2
Count both ways - 1006 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #176 / 352
  • Number of attempts: 3
Gray area - 745 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 12
  • Position: #30 / 270
  • Number of attempts: 3
Refactor static member invocation - 199 entries

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

  • Best score: 28
  • Best player score: 28
  • Position: #5 / 64
  • Number of attempts: 5
Where should I put the Newline? - 874 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #226 / 436
  • Number of attempts: 3
Circle of Fifths with Sharps - 97 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
  • Position: #6 / 37
  • Number of attempts: 7
Python to Ruby - 198 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #8 / 60
  • Number of attempts: 12
Reformat long lines - 346 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
  • Position: #20 / 133
  • Number of attempts: 5
Numbering a List - 1867 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 20
  • Position: #314 / 645
  • Number of attempts: 5
Hatsuyume - 466 entries

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

  • Best score: 15
  • Best player score: 29
  • Position: #121 / 178
  • Number of attempts: 1
Anton Davydov
Twitter:

Chief Depression Officer. Architecture, event sourcing/driven, and DDD. @hanamirb / @dry_rb core and advocate. Vim adept. DnD fan

entered into 16 challenges

contributed 0 challenges