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

A HAPPY NEW YEAR 2014 ! - 10144 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
replace 2nd column blanks with values in same column if blank - 199 entries

Where ,SOMELOGB and ,SOMELOGC replaces each /r carriage return if 2nd column is blank. The replace only happens if 2nd column is blank though and should replace up to the non blank row.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 2
Simple, Practical, and Common - 30325 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
  • Number of attempts: 13
Vice versa - 6926 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 6
Words in parens - 12073 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 7
One number per line - 16600 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 12
I forgot quotes - 14483 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Just the middle - 10444 entries

Delete the instructions at the top and bottom.

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

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 11
Order and join - 811 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
comments galore - 924 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 2
Add semicolons - 8181 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
thejojo87
Twitter:

entered into 12 challenges

contributed 0 challenges