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

Rural Post - 4479 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 32
  • Position: #1010 / 1097
  • Number of attempts: 4
Simple, Practical, and Common - 33614 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: 25
  • Position: #3377 / 7418
  • Number of attempts: 24
prepend * to every non-blank line - 6308 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #60 / 1537
  • Number of attempts: 7
One number per line - 18725 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2260 / 3862
  • Number of attempts: 9
V to the i - 4802 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1637 / 1893
  • Number of attempts: 3
Add string initializers to an enum - 872 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 26
  • Position: #166 / 258
  • Number of attempts: 7
Add semicolons - 10851 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #449 / 3063
  • Number of attempts: 7
remove lines containing the word "reader" - 3583 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #318 / 1161
  • Number of attempts: 7
Com(m)a Trouble - 3815 entries

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

  • Best score: 12
  • Best player score: 28
  • Position: #733 / 864
  • Number of attempts: 1
Box it - 7904 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Position: #1341 / 1875
  • Number of attempts: 8
Just the middle - 11454 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3736 / 4197
  • Number of attempts: 2
Basic renumbering - 5648 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 24
  • Position: #1115 / 1264
  • Number of attempts: 1
Vice versa - 7904 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #1008 / 2126
  • Number of attempts: 14
lipsum lines - 278 entries

Convert a quoted block of text into strings in a list.

  • Best score: 28
  • Best player score: 45
  • Position: #92 / 95
  • Number of attempts: 3
Angular naming conventions - 320 entries

In angular, a directive name follows the camelCase convention. When the directive is used in an HTML template, the words are instead separated by a dash. Go from to the other the fastest!

  • Best score: 18
  • Best player score: 24
  • Position: #102 / 118
  • Number of attempts: 3
Collect List - 4298 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 19
  • Position: #1098 / 1190
  • Number of attempts: 8
I forgot quotes - 15980 entries

Oops.

  • Best score: 10
  • Best player score: 23
  • Position: #3871 / 4179
  • Number of attempts: 2
-a-b-c- - 3213 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 19
  • Position: #1062 / 1137
  • Number of attempts: 1
Where should I put the Newline? - 881 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Position: #165 / 437
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10663 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Position: #3094 / 3683
  • Number of attempts: 5
Words in parens - 12930 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1507 / 3962
  • Number of attempts: 3
Simple text editing with Vim - 12787 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 18
  • Position: #2619 / 3688
  • Number of attempts: 4
manfred knapp
Twitter:

entered into 22 challenges

contributed 0 challenges