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 - 33385 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: #2280 / 7364
  • Number of attempts: 15
Swap values inside brackets - 2464 entries

Easy challenge.

  • Best score: 14
  • Best player score: 18
  • Position: #344 / 569
  • Number of attempts: 9
Add semicolons - 10792 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #665 / 3044
  • Number of attempts: 10
Extract argument from function - 2314 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 14
  • Position: #381 / 744
  • Number of attempts: 8
switch variable - 5036 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #632 / 1736
  • Number of attempts: 8
Sven H.
Twitter:

fixing things that aren't broken. My Hobby? I collect Hobbies.

entered into 5 challenges

contributed 0 challenges