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

Vertical Limit - 2168 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 27
  • Number of attempts: 1
One number per line - 14452 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 7
Basic renumbering - 4854 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 6
Extract argument from function - 2061 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
I forgot quotes - 12896 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 3
Split line with dots - 1924 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 9
camel riding - 713 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 3
Start coding format - 119 entries

I used to start coding with following format: int main(){ -(cursor here) }

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 2
Increment, increment, increment.... - 494 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 1
Just the middle - 9769 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
Simple, Practical, and Common - 27235 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: 22
  • Number of attempts: 9
learn vim in short time - 186 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 1
Collect List - 3638 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Letter case trickery - 1451 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: 14
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 9782 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
Paragraph breaks - 424 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 4
Every other line - 2265 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 4
V to the i - 4162 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Simple text editing with Vim - 10708 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 7
KangHun Seo
Twitter:

entered into 19 challenges

contributed 0 challenges