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

Put a newline after every 10 lines in vim - 1421 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 39
  • Position: #463 / 479
  • Number of attempts: 3
hello-world-vimgolf - 2116 entries

Simple number generation

  • Best score: 10
  • Best player score: 16
  • Position: #484 / 598
  • Number of attempts: 5
Contribute to keyboard mashing - 758 entries

Speak in tongues

  • Best score: 17
  • Best player score: 18
  • Position: #82 / 236
  • Number of attempts: 6
Reordering Lorem Ipsum - 212 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 96
  • Position: #37 / 53
  • Number of attempts: 2
Learn to ask for :help - 468 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 35
  • Position: #73 / 108
  • Number of attempts: 5
Plotting some variables in python - 1431 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 52
  • Position: #190 / 305
  • Number of attempts: 2
Migrated to Postgres! - 275 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 46
  • Position: #105 / 109
  • Number of attempts: 1
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: 25
  • Position: #3377 / 7330
  • Number of attempts: 4
Swap values - 4513 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #122 / 1250
  • Number of attempts: 6
One number per line - 18559 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #2835 / 3830
  • Number of attempts: 1
Every other line - 2869 entries

AaAaAaA

  • Best score: 12
  • Best player score: 26
  • Position: #670 / 695
  • Number of attempts: 3
Copy three lines - 2825 entries

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

  • Best score: 13
  • Best player score: 21
  • Position: #436 / 631
  • Number of attempts: 2
Just the middle - 11318 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #772 / 4152
  • Number of attempts: 2
Vice versa - 7675 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #231 / 2078
  • Number of attempts: 6
Order and join - 913 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 13
  • Position: #167 / 248
  • Number of attempts: 1
I forgot quotes - 15880 entries

Oops.

  • Best score: 10
  • Best player score: 23
  • Position: #3842 / 4146
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10584 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1040 / 3653
  • Number of attempts: 5
Words in parens - 12821 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #717 / 3938
  • Number of attempts: 5
Rodney Visser
Twitter:

entered into 18 challenges

contributed 0 challenges