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 - 34031 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: 29
  • Position: #4598 / 7520
  • Number of attempts: 6
One number per line - 18907 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 26
  • Position: #3423 / 3907
  • Number of attempts: 2
Copy three lines - 2923 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 10
  • Best player score: 60
  • Position: #643 / 647
  • Number of attempts: 1
Just the middle - 11636 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1992 / 4262
  • Number of attempts: 7
Add to end of each line... kinda - 352 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: 19
  • Position: #178 / 182
  • Number of attempts: 2
Condensed Cases - 829 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 44
  • Position: #254 / 255
  • Number of attempts: 2
I forgot quotes - 16255 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3171 / 4229
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 16
  • Position: #3307 / 3717
  • Number of attempts: 4
Words in parens - 13063 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3601 / 3995
  • Number of attempts: 3
Filype
Twitter:

entered into 9 challenges

contributed 0 challenges