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

Change your calendar - 421 entries

Happy New Year!

  • Best score: 18
  • Best player score: 38
  • Position: #67 / 89
  • Number of attempts: 8
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2782 / 3991
  • Number of attempts: 3
Word frequency alignment - 310 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Position: #19 / 166
  • Number of attempts: 2
abcd > a b c d - 309 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Position: #97 / 231
  • Number of attempts: 1
The name of the game - 696 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #104 / 369
  • Number of attempts: 1
lamb had a little Mary - 659 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 38
  • Position: #119 / 179
  • Number of attempts: 5
Let's play some Ivmgolf - 1163 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Position: #31 / 459
  • Number of attempts: 5
Vertical Limit - 2637 entries

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

  • Best score: 21
  • Best player score: 26
  • Position: #439 / 778
  • Number of attempts: 5
Switch function arguments - 2229 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 14
  • Position: #475 / 684
  • Number of attempts: 4
The meaning - 588 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #180 / 368
  • Number of attempts: 1
Shebangs for all - 2103 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 19
  • Position: #404 / 533
  • Number of attempts: 6
Reverse Simple Deletion - 874 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #273 / 466
  • Number of attempts: 2
Joe Sullivan
Twitter:

Shutterstock; javascript; web audio fan.

entered into 12 challenges

contributed 0 challenges