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

Multiline to Single Line - 320 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #137 / 151
  • Number of attempts: 4
Data reformat - 205 entries

Reformat this copy-paste data! #csv

  • Best score: 38
  • Best player score: 118
  • Position: #45 / 49
  • Number of attempts: 5
Capitalize the Names - 235 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 3
  • Best player score: 21
  • Position: #29 / 63
  • Number of attempts: 13
Simple, Practical, and Common - 32743 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #1782 / 7235
  • Number of attempts: 9
One number per line - 18223 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Position: #747 / 3759
  • Number of attempts: 12
Right Align Part of the line - 55 entries

The challenge is to right align a part of the line - this is useful in some SQL queries where it's more clear which are the fields displayed

  • Best score: 19
  • Best player score: 20
  • Position: #12 / 24
  • Number of attempts: 6
Add semicolons - 10429 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 16
  • Position: #2426 / 2954
  • Number of attempts: 1
Com(m)a Trouble - 3284 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 22
  • Position: #571 / 741
  • Number of attempts: 1
Box it - 7622 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1091 / 1819
  • Number of attempts: 1
I forgot quotes - 15639 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2245 / 4095
  • Number of attempts: 2
Nick Anishenko
Twitter:

entered into 10 challenges

contributed 0 challenges