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

Swap values - 4543 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 17
  • Position: #1092 / 1257
  • Number of attempts: 1
Interweave two blocks of text - 631 entries

Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?

  • Best score: 15
  • Best player score: 16
  • Position: #32 / 211
  • Number of attempts: 4
Recursively Palindrome - 239 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 23
  • Position: #23 / 73
  • Number of attempts: 4
remove dupes from array - 1336 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 17
  • Position: #11 / 331
  • Number of attempts: 13
Alphabetize the directory - 283 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 39
  • Position: #71 / 99
  • Number of attempts: 1
Case preserving word replacement - 453 entries

Half way through my project, my people turned into dogs. Now I have to change everything in my source.

  • Best score: 19
  • Best player score: 25
  • Position: #160 / 179
  • Number of attempts: 1
Complete the hex array data (Part II) - 156 entries

Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]

  • Best score: 20
  • Best player score: 27
  • Position: #56 / 67
  • Number of attempts: 1
Sort entries based on date - 363 entries

Sort some entries in a Ledger-file based on date.

  • Best score: 11
  • Best player score: 20
  • Position: #102 / 114
  • Number of attempts: 2
It'ss tooo coold too typpe todaay - 215 entries

My hands are numb with cold. It's hard to type correctly.

  • Best score: 16
  • Best player score: 17
  • Position: #22 / 96
  • Number of attempts: 4
HTML to Haml - 842 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 49
  • Position: #168 / 202
  • Number of attempts: 3
Reformat long lines - 344 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: #10 / 131
  • Number of attempts: 4
Generate English Alphabets - 473 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 24
  • Position: #57 / 202
  • Number of attempts: 4
Numbering a List - 1859 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #499 / 639
  • Number of attempts: 8
The holy-grail may help - 347 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 16
  • Position: #104 / 206
  • Number of attempts: 1
Assignment Alignment - 832 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 31
  • Position: #176 / 215
  • Number of attempts: 1
Reverse Simple Deletion - 832 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #213 / 454
  • Number of attempts: 2
Make Fancy Header - 1014 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 16
  • Position: #48 / 338
  • Number of attempts: 6
Jakub Arnold
Twitter:

Computer Science student at Charles University

entered into 17 challenges

contributed 0 challenges