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

Simple, Practical, and Common - 33483 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: 23
  • Position: #2416 / 7384
  • Number of attempts: 4
Just the middle - 11380 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1769 / 4174
  • Number of attempts: 1
Basic renumbering - 5605 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #369 / 1260
  • Number of attempts: 3
camel riding - 775 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 16
  • Position: #79 / 277
  • Number of attempts: 3
readability - 315 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Position: #12 / 150
  • Number of attempts: 2
remove all lines in first part - 197 entries

From the second part, remove all lines in the first part. It can be useful when you have done something from a long list, you want to know what is not done yet!

  • Best score: 13
  • Best player score: 22
  • Position: #52 / 66
  • Number of attempts: 2
Merge blank lines and properly capitalize - 82 entries

Here you need complete 2 tasks: 1. Remove all unwanted continuous blank lines and leave only 1 blank line between paragraphs. 2. Properly capitalize the sentences.

  • Best score: 21
  • Best player score: 22
  • Position: #7 / 24
  • Number of attempts: 2
Shuffled numbers - 237 entries

Each number is paired with the number it should follow. That's enough information to put them in order.

  • Best score: 15
  • Best player score: 16
  • Position: #49 / 95
  • Number of attempts: 1
Remove hard line breaks - 68 entries

Text files with Hard breaks are not good for e-readers. We need remove all hard line breaks and have long lines.

  • Best score: 10
  • Best player score: 10
  • Position: #5 / 33
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10652 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1994 / 3677
  • Number of attempts: 1
Words in parens - 12868 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2210 / 3950
  • Number of attempts: 1
Oleg Parashchenko
Twitter:

entered into 11 challenges

contributed 0 challenges