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 - 1473 entries

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

  • Best score: 16
  • Best player score: 58
  • Position: #265 / 284
  • Number of attempts: 2
HS Final exam vimgolf - 666 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
  • Position: #168 / 176
  • Number of attempts: 2
Multiline to Single Line - 522 entries

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

  • Best score: 5
  • Best player score: 16
  • Position: #233 / 235
  • Number of attempts: 1
Yo To Hello - 1048 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #267 / 481
  • Number of attempts: 7
prepend * to every non-blank line - 5959 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #790 / 1463
  • Number of attempts: 2
I forgot quotes - 15728 entries

Oops.

  • Best score: 10
  • Best player score: 25
  • Position: #3922 / 4114
  • Number of attempts: 3
Dennis Chen
Twitter:

entered into 6 challenges

contributed 0 challenges