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 number pairs - 970 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 58
  • Number of attempts: 2
HS Final exam vimgolf - 305 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 59
  • Number of attempts: 2
Multiline to Single Line - 217 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 16
  • Number of attempts: 1
Yo To Hello - 829 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
prepend * to every non-blank line - 5651 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 13
  • Number of attempts: 2
I forgot quotes - 15595 entries

Oops.

  • Best score: 10
  • Best player score: 25
  • Number of attempts: 3
Dennis Chen
Twitter:

entered into 6 challenges

contributed 0 challenges