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 - 32953 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: #2441 / 7275
  • Number of attempts: 6
Swap values - 4440 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #805 / 1241
  • Number of attempts: 3
One number per line - 18394 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #1992 / 3792
  • Number of attempts: 4
Split line with dots - 2098 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Position: #405 / 622
  • Number of attempts: 1
Every other line - 2829 entries

AaAaAaA

  • Best score: 12
  • Best player score: 18
  • Position: #522 / 686
  • Number of attempts: 2
Scrambled numbers - 772 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 23
  • Position: #85 / 179
  • Number of attempts: 3
I forgot quotes - 15740 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1625 / 4115
  • Number of attempts: 2
Don't know what this is - 1951 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: #499 / 572
  • Number of attempts: 1
replacing each line of a block selection - 2800 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #312 / 735
  • Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 840 entries

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

  • Best score: 19
  • Best player score: 33
  • Position: #85 / 173
  • Number of attempts: 4
Make it more readable - 1897 entries

Insert blank lines to make it more organized and readable

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

An old-school nerd, prone to smart-alec ramblings. mong8se is pronounced mongoose–the 'o's are stacked to save 1 character.

entered into 11 challenges

contributed 0 challenges