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

Assign numbers to fields - 90 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
Fiddle percentages into real numbers - 765 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
Collect List - 4035 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 4
Vice versa - 7154 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 5
Words in parens - 12372 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10330 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
One number per line - 17456 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 1
Simple, Practical, and Common - 31669 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: 24
  • Number of attempts: 7
Make HTML List - 924 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 - 168 entries

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

  • Best score: 23
  • Best player score: 33
  • Number of attempts: 2
replacing each line of a block selection - 2706 entries

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

  • Best score: 18
  • Best player score: 23
  • Number of attempts: 3
Just the middle - 10822 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Number of attempts: 2
I forgot quotes - 15122 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 4
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
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