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 - 191 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: #54 / 60
  • Number of attempts: 1
Vertical Limit - 2634 entries

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

  • Best score: 21
  • Best player score: 24
  • Position: #273 / 776
  • Number of attempts: 5
Switch function arguments - 2204 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #222 / 681
  • Number of attempts: 5
switch variable - 5120 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #736 / 1761
  • Number of attempts: 4
The meaning - 581 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #126 / 366
  • 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 - 1944 entries

Pretty simple, number the list.

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

entered into 8 challenges

contributed 0 challenges