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

Swap values - 3420 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 3
Scrambled numbers - 715 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 23
  • Number of attempts: 3
Ugly spreadsheet copy/paste to CSV - 710 entries

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

  • Best score: 19
  • Best player score: 33
  • Number of attempts: 4
Make it more readable - 1738 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 2
replacing each line of a block selection - 2478 entries

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

  • Best score: 17
  • Best player score: 21
  • Number of attempts: 2
Don't know what this is - 1711 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
  • Number of attempts: 1
Simple, Practical, and Common - 24063 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: 2
  • Best player score: 23
  • Number of attempts: 6
I forgot quotes - 11390 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 2
Every other line - 2042 entries

AaAaAaA

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 2
One number per line - 12160 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 4
Split line with dots - 1795 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Number of attempts: 1
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