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 - 33969 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: 23
  • Position: #2512 / 7502
  • Number of attempts: 6
Swap values - 4701 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #835 / 1290
  • Number of attempts: 3
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2046 / 3898
  • Number of attempts: 4
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Position: #410 / 638
  • Number of attempts: 1
Every other line - 2945 entries

AaAaAaA

  • Best score: 12
  • Best player score: 18
  • Position: #541 / 710
  • Number of attempts: 2
Scrambled numbers - 829 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 23
  • Position: #88 / 186
  • Number of attempts: 3
I forgot quotes - 16178 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1664 / 4217
  • Number of attempts: 2
Don't know what this is - 2044 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 16
  • Position: #514 / 591
  • Number of attempts: 1
replacing each line of a block selection - 3040 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 21
  • Position: #334 / 785
  • Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 1016 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 33
  • Position: #96 / 196
  • Number of attempts: 4
Make it more readable - 2028 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #234 / 656
  • Number of attempts: 2
Steven Moazami
Twitter:

a dummy

entered into 11 challenges

contributed 0 challenges