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 - 33801 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: 22
  • Position: #987 / 7459
  • Number of attempts: 6
Swap values - 4651 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #897 / 1278
  • Number of attempts: 3
One number per line - 18811 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2410 / 3883
  • Number of attempts: 6
Separate the lines - 191 entries

Every other line is mixed up. Separate them into their original texts.

  • Best score: 11
  • Best player score: 15
  • Position: #82 / 95
  • Number of attempts: 1
From argument to object - 1534 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 28
  • Position: #439 / 465
  • Number of attempts: 1
Just the middle - 11523 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2463 / 4222
  • Number of attempts: 1
Un"finnish"ed Work - 119 entries

Replace å by a, ä by a and ö by o.

  • Best score: 14
  • Best player score: 15
  • Position: #31 / 61
  • Number of attempts: 1
Todo list specification - 404 entries

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

  • Best score: 37
  • Best player score: 37
  • Position: #38 / 182
  • Number of attempts: 3
Interactive git rebase changing commands - 176 entries

How to change the action of some commits in git rebase dialog.

  • Best score: 14
  • Best player score: 23
  • Position: #78 / 80
  • Number of attempts: 1
Fiddle percentages into real numbers - 873 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: 18
  • Position: #242 / 294
  • Number of attempts: 1
Vice versa - 7971 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1307 / 2145
  • Number of attempts: 1
Array transposition - 2430 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 22
  • Position: #246 / 451
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10703 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1145 / 3696
  • Number of attempts: 2
Words in parens - 12980 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2937 / 3972
  • Number of attempts: 1
Simple text editing with Vim - 13183 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #2880 / 3789
  • Number of attempts: 2
Tom Taylor
Twitter:

A man of many words but no actual content

entered into 15 challenges

contributed 0 challenges