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

HS exam question - 1613 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 63
  • Position: #142 / 422
  • Number of attempts: 1
delete swap - 1883 entries

delete all swap

  • Best score: 5
  • Best player score: 21
  • Position: #563 / 577
  • Number of attempts: 2
Simple, Practical, and Common - 33972 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: #2559 / 7505
  • Number of attempts: 6
Add semicolons - 10950 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1968 / 3095
  • Number of attempts: 3
From argument to object - 1552 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: 38
  • Position: #463 / 469
  • Number of attempts: 1
Just the middle - 11611 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #911 / 4252
  • Number of attempts: 3
Stairstep digits - 413 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #86 / 152
  • Number of attempts: 1
Adam's challenge - 1020 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 19
  • Position: #111 / 279
  • Number of attempts: 5
Order and join - 1030 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 14
  • Position: #213 / 264
  • Number of attempts: 1
I forgot quotes - 16185 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3538 / 4221
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1641 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 15
  • Position: #420 / 456
  • Number of attempts: 2

Contributed Challenges

From argument to object - 1552 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?

toddagibson
Twitter:

Bioinformatics

entered into 11 challenges

contributed 1 challenges