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 - 33236 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: #2401 / 7330
  • Number of attempts: 4
Just the middle - 11318 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1761 / 4152
  • Number of attempts: 1
Basic renumbering - 5514 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #360 / 1249
  • Number of attempts: 3
camel riding - 765 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 16
  • Position: #77 / 273
  • Number of attempts: 3
readability - 310 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Position: #12 / 147
  • Number of attempts: 2
remove all lines in first part - 190 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: #51 / 65
  • Number of attempts: 2
Merge blank lines and properly capitalize - 72 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: #5 / 22
  • Number of attempts: 2
Shuffled numbers - 228 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: #47 / 92
  • Number of attempts: 1
Remove hard line breaks - 64 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 / 30
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10584 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1981 / 3653
  • Number of attempts: 1
Words in parens - 12821 entries

We should all ace this, right?

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

entered into 11 challenges

contributed 0 challenges