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

Readable Rubyhash - 232 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 23
  • Best player score: 30
  • Number of attempts: 2
NATO phonetic alphabet - 407 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 28
  • Number of attempts: 1
VimGolfNight - 463 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 1
Make it more readable - 1775 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
Word frequency alignment - 204 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
  • Number of attempts: 2
Switch function arguments - 1857 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
Let's play some Ivmgolf - 945 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 15
  • Number of attempts: 1
Append semicolon after expressions - 881 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
The name of the game - 588 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Claudio Ortolina
Twitter:

Full stack web developer at New Bamboo and amateur cook.

entered into 9 challenges

contributed 0 challenges