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

Chucking wood - 75 entries

An exercise in compressing repetitive text. For this challenge, any entry that uses keys outside the main row (such as arrow keys, Home, End, Delete, etc.) will be removed. (Esc is OK, though you should be using C-[ anyway.)

  • Best score: 51
  • Best player score: 54
  • Number of attempts: 2
Make HTML List - 875 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 47
  • Number of attempts: 2
Vim's not included features - 157 entries

Filter not included (-) features in a hypothetical installation of vim.

  • Best score: 23
  • Best player score: 33
  • Number of attempts: 2
I forgot quotes - 11557 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 4
Fiddle percentages into real numbers - 711 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
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 9432 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
Simple, Practical, and Common - 24466 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: 2
  • Best player score: 24
  • Number of attempts: 7
Collect List - 3443 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 4
Just the middle - 9077 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Number of attempts: 2
Words in parens - 10932 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
Vice versa - 5866 entries

Little role switching.

  • Best score: 2
  • Best player score: 16
  • Number of attempts: 5
Assign numbers to fields - 82 entries

You are given a list of space-separated strings. Add an increasing numeric prefix to each one.

  • Best score: 19
  • Best player score: 19
  • Number of attempts: 3
replacing each line of a block selection - 2487 entries

replace each line's ../assets/js with /javascripts

  • Best score: 17
  • Best player score: 23
  • Number of attempts: 3
One number per line - 12434 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 1
Gabriel Florit
Twitter:

Graphics reporter @PostGraphics. @BostonGlobe alum. Raised in Michigan/Barcelona/Lima/Edinburgh. College in Iowa. Living in DC. Probably studying statistics.

entered into 14 challenges

contributed 0 challenges