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 - 33746 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: 28
  • Position: #4429 / 7449
  • Number of attempts: 3
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 27
  • Position: #3516 / 3877
  • Number of attempts: 2
Add semicolons - 10889 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 27
  • Position: #2942 / 3076
  • Number of attempts: 2
remove lines containing the word "reader" - 3610 entries

easy stuff

  • Best score: 9
  • Best player score: 12
  • Position: #960 / 1172
  • Number of attempts: 1
Box it - 7939 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 41
  • Position: #1730 / 1885
  • Number of attempts: 2
Copy three lines - 2875 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 25
  • Position: #563 / 641
  • Number of attempts: 1
Search and Replace 0 - 5007 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 14
  • Position: #1046 / 1631
  • Number of attempts: 1
Just the middle - 11497 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 11
  • Position: #3972 / 4215
  • Number of attempts: 2
Team names - 1846 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 18
  • Position: #392 / 591
  • Number of attempts: 1
Todo list specification - 401 entries

The every item on the todo list must be done today. Modify the list to reflect that.

  • Best score: 37
  • Best player score: 41
  • Position: #170 / 180
  • Number of attempts: 1
Python Hello World! Reformatting - 1006 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 42
  • Position: #133 / 383
  • Number of attempts: 2
Vice versa - 7967 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1387 / 2144
  • Number of attempts: 2
Delete to the end of the current line - 847 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Position: #324 / 406
  • Number of attempts: 2
Reorder the groups - 1182 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 27
  • Position: #226 / 265
  • Number of attempts: 1
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 24
  • Position: #3953 / 4194
  • Number of attempts: 2
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #706 / 1138
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 17
  • Position: #3415 / 3695
  • Number of attempts: 2
Words in parens - 12969 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3602 / 3970
  • Number of attempts: 2
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #960 / 1750
  • Number of attempts: 1
Change the content of a string - 1646 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 24
  • Position: #360 / 607
  • Number of attempts: 1
Simple text editing with Vim - 13092 entries

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

  • Best score: 13
  • Best player score: 28
  • Position: #3376 / 3765
  • Number of attempts: 2
Березницкий Вадим
Twitter:

entered into 21 challenges

contributed 0 challenges