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

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

  • Best score: 5
  • Best player score: 6
  • Position: #263 / 310
  • Number of attempts: 4
Data reformat - 294 entries

Reformat this copy-paste data! #csv

  • Best score: 36
  • Best player score: 118
  • Position: #61 / 65
  • Number of attempts: 5
Capitalize the Names - 408 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 / 97
  • Number of attempts: 13
Simple, Practical, and Common - 33724 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 / 7442
  • Number of attempts: 9
One number per line - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Position: #788 / 3870
  • Number of attempts: 12
Right Align Part of the line - 133 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: #16 / 42
  • Number of attempts: 6
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 16
  • Position: #2528 / 3072
  • Number of attempts: 1
Com(m)a Trouble - 3875 entries

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

  • Best score: 12
  • Best player score: 22
  • Position: #674 / 876
  • Number of attempts: 1
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1138 / 1881
  • Number of attempts: 1
I forgot quotes - 16022 entries

Oops.

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

entered into 10 challenges

contributed 0 challenges