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

C Reformatting - 617 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 68
  • Number of attempts: 1
Don't know what this is - 1718 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 37
  • Number of attempts: 1
Simple, Practical, and Common - 24466 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: 2
  • Best player score: 24
  • Number of attempts: 8
One number per line - 12434 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 12
Every other line - 2064 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 8
Paragraph breaks - 392 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 3
Fiddle percentages into real numbers - 711 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 3
replace 2nd column blanks with values in same column if blank - 177 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: 7
Just the middle - 9077 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 6
Words in parens - 10932 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 5
switch variable - 4286 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 14
  • Number of attempts: 1
V to the i - 3860 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 16
  • Number of attempts: 1
Paragraph sort - 316 entries

My large herbivorous mammals, Vim commands, and POSIX utilities need to be sorted separately.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 8
Christian Guenter
Twitter:

entered into 13 challenges

contributed 0 challenges