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 - 33742 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: #2518 / 7447
  • Number of attempts: 5
One number per line - 18776 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1411 / 3875
  • Number of attempts: 6
Extract argument from function - 2364 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 17
  • Position: #629 / 755
  • Number of attempts: 1
Just the middle - 11495 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #889 / 4213
  • Number of attempts: 2
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: 44
  • Position: #243 / 383
  • Number of attempts: 1
Fiddle percentages into real numbers - 869 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 13
  • Position: #66 / 293
  • Number of attempts: 6
Vice versa - 7953 entries

Little role switching.

  • Best score: 12
  • Best player score: 23
  • Position: #1964 / 2140
  • Number of attempts: 1
Paragraph sort - 450 entries

My large herbivorous mammals, Vim commands, and POSIX utilities need to be sorted separately.

  • Best score: 14
  • Best player score: 33
  • Position: #122 / 125
  • Number of attempts: 1
Inner hyphens - 136 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #58 / 82
  • Number of attempts: 3
Scrambled numbers - 807 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 32
  • Position: #154 / 184
  • Number of attempts: 1
Generate a list of numbers - 299 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 15
  • Position: #105 / 141
  • Number of attempts: 1
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #982 / 1138
  • Number of attempts: 1
Let's play some Ivmgolf - 1122 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Position: #96 / 446
  • Number of attempts: 5
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #920 / 1749
  • Number of attempts: 3
Sam Hammer
Twitter:

https://t.co/co799Eymgs

entered into 14 challenges

contributed 0 challenges