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 - 33757 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: 29
  • Position: #4909 / 7450
  • Number of attempts: 4
Swap values - 4644 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 20
  • Position: #1177 / 1275
  • Number of attempts: 1
Swap values inside brackets - 2515 entries

Easy challenge.

  • Best score: 13
  • Best player score: 25
  • Position: #507 / 584
  • Number of attempts: 3
Array propagate - 339 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 43
  • Position: #110 / 120
  • Number of attempts: 1
Number Sort - 317 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Position: #62 / 169
  • Number of attempts: 6
Delete to the end of the current line - 847 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 8
  • Position: #387 / 406
  • Number of attempts: 3
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 17
  • Position: #1625 / 1750
  • Number of attempts: 4
Bernhard Brunner
Twitter:

entered into 7 challenges

contributed 0 challenges