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

Rural Post - 4596 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #290 / 1122
  • Number of attempts: 5
Simple, Practical, and Common - 33981 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: 24
  • Position: #3108 / 7507
  • Number of attempts: 8
prepend * to every non-blank line - 6390 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 15
  • Position: #978 / 1560
  • Number of attempts: 3
One number per line - 18894 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1996 / 3901
  • Number of attempts: 2
Box it - 7999 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #958 / 1899
  • Number of attempts: 7
I forgot quotes - 16185 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1397 / 4221
  • Number of attempts: 9
quotes inside quotes - 3200 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 17
  • Position: #944 / 1091
  • Number of attempts: 3
switch variable - 5120 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1455 / 1761
  • Number of attempts: 2
Leonard Wagner
Twitter:

entered into 8 challenges

contributed 0 challenges