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 - 33964 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: 39
  • Position: #7110 / 7500
  • Number of attempts: 2
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3240 / 3898
  • Number of attempts: 4
Swap values inside brackets - 2545 entries

Easy challenge.

  • Best score: 13
  • Best player score: 32
  • Position: #559 / 591
  • Number of attempts: 2
Applying same text modification in several lines - 2927 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 24
  • Position: #775 / 865
  • Number of attempts: 3
Com(m)a Trouble - 3988 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 48
  • Position: #868 / 908
  • Number of attempts: 1
Stairs Indenting - 479 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 14
  • Position: #132 / 199
  • Number of attempts: 2
Let's play some Ivmgolf - 1145 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 12
  • Position: #415 / 454
  • Number of attempts: 2
Switch function arguments - 2195 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 14
  • Position: #523 / 678
  • Number of attempts: 2
Reverse and double space - 502 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 18
  • Position: #167 / 200
  • Number of attempts: 1
Ainsley McGrath
Twitter:

If you rearrange the letters in my name you get 'Gently Charisma.' Coincidence? Probably. Snake Boy (Python dev) at @Blick_art .

entered into 9 challenges

contributed 0 challenges