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

Just the middle - 9074 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Increment, increment, increment.... - 485 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
vim = 22 / 7 - 398 entries

pi square vim

  • Best score: 20
  • Best player score: 32
  • Number of attempts: 2
Simple, Practical, and Common - 24453 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: 34
  • Number of attempts: 1
abcd > a b c d - 240 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 2

Contributed Challenges

[Real World] PHP To Markdown - 18 entries

Fun refactoring I had to do in the real world. This presents several challenges: - How to create a table that fits the informations exactly - How to keep track of two informations per line while doing the refactoring - Generate the link from the actual text Have fun!

Thomas Royer

Web Developer

entered into 5 challenges

contributed 1 challenges