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

Delete to the end of the current line - 671 entries

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

  • Best score: 5
  • Best player score: 8
  • Number of attempts: 3
Simple, Practical, and Common - 29767 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
  • Number of attempts: 4
Swap values - 4155 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 20
  • Number of attempts: 1
switch variable - 4613 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 4
Array propagate - 263 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 43
  • Number of attempts: 1
Number Sort - 261 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
  • Number of attempts: 6
Swap values inside brackets - 2104 entries

Easy challenge.

  • Best score: 14
  • Best player score: 25
  • Number of attempts: 3
Bernhard Brunner
Twitter:

entered into 7 challenges

contributed 0 challenges