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

Change the content of a string - 1204 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 2
Swap values - 3154 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
Add to end of each line... kinda - 258 entries

Visual-block mode can be used to add something to the end of each line, even if they are of differing lengths. However, what if it's not quite at the end?

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Simple, Practical, and Common - 21186 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: 5
  • Best player score: 22
  • Number of attempts: 6
Collect List - 3164 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 1
Order and join - 695 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
Letter case trickery - 1413 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 5
Every other line - 1806 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 4
Just the middle - 8493 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Words in parens - 10364 entries

We should all ace this, right?

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

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 3
Reconstruct the Sentence - 1004 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 20
  • Number of attempts: 7
Let's play some Ivmgolf - 861 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
I forgot quotes - 10170 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 2
Saurav Mitra
Twitter:

entered into 14 challenges

contributed 0 challenges