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

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

  • Best score: 5
  • Best player score: 6
  • Position: #160 / 177
  • Number of attempts: 4
Data reformat - 219 entries

Reformat this copy-paste data! #csv

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

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

  • Best score: 21
  • Best player score: 21
  • Position: #28 / 71
  • Number of attempts: 13
Simple, Practical, and Common - 32765 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 / 7241
  • Number of attempts: 9
One number per line - 18294 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Position: #753 / 3770
  • Number of attempts: 12
Right Align Part of the line - 71 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: #14 / 27
  • Number of attempts: 6
Add semicolons - 10467 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 16
  • Position: #2435 / 2966
  • Number of attempts: 1
Com(m)a Trouble - 3307 entries

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

  • Best score: 12
  • Best player score: 22
  • Position: #575 / 746
  • Number of attempts: 1
Box it - 7657 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1099 / 1829
  • Number of attempts: 1
I forgot quotes - 15666 entries

Oops.

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

entered into 10 challenges

contributed 0 challenges