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

Cleanining up 80 column concatenated text - 229 entries

1. Put the whole query on one line, remove the concatenation operators 2. Remove the double spaces that appear a few times in the query 3. Use string-interpolated variable statementPid rather than the ugly concatenation

  • Best score: 31
  • Best player score: 33
  • Position: #24 / 82
  • Number of attempts: 6
Convert pandoc unordered list to a numbered list - 215 entries

I know it's possible to use #. in pandoc to auto-generate numbered lists, but then it's not easy to tell how many items there are when reading it in Markdown. How fast can you make the switch?

  • Best score: 20
  • Best player score: 46
  • Position: #56 / 62
  • Number of attempts: 1
Vertical Limit - 2642 entries

transform a succession of one word lines to a an array of strings

  • Best score: 10
  • Best player score: 24
  • Position: #275 / 781
  • Number of attempts: 5
Switch function arguments - 2235 entries

How to switch two arguments of a function.

  • Best score: 7
  • Best player score: 12
  • Position: #223 / 687
  • Number of attempts: 5
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 12
  • Position: #739 / 1767
  • Number of attempts: 4
The meaning - 589 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #126 / 369
  • Number of attempts: 3
Format the output - 158 entries

Sometimes your standard out is a little hard to read. Take this multilevel hash and make it human readable.

  • Best score: 35
  • Best player score: 50
  • Position: #26 / 41
  • Number of attempts: 3
Numbering a List - 1970 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #243 / 662
  • Number of attempts: 4
Слава
Twitter:

entered into 8 challenges

contributed 0 challenges