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

One number per line - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2312 / 3793
  • Number of attempts: 1
Sorting a glossary - 115 entries

Sort a glossary. Glossary head contains a header phrase ending with ':' and glossary body has multi line text indented with a tab.

  • Best score: 6
  • Best player score: 6
  • Position: #31 / 74
  • Number of attempts: 1
Mirror Symmetry - 781 entries

Add backslashes.

  • Best score: 7
  • Best player score: 13
  • Position: #201 / 262
  • Number of attempts: 1
quotes inside quotes - 3030 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 17
  • Position: #674 / 1045
  • Number of attempts: 1
Switch function arguments - 1982 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 13
  • Position: #317 / 627
  • Number of attempts: 2
Append semicolon after expressions - 953 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #254 / 387
  • Number of attempts: 3
Thierry Flauss
Twitter:

entered into 6 challenges

contributed 0 challenges