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

Enumerate words - 225 entries

Enumerate the unique words in order.

  • Best score: 23
  • Best player score: 35
  • Number of attempts: 2
One number per line - 15250 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Number of attempts: 1
underscore_to_camelCase - 141 entries

Pointy haired boss decided we need to switch to camelCase. Let's get this over with.

  • Best score: 14
  • Best player score: 22
  • Number of attempts: 2
Box it - 5171 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 43
  • Number of attempts: 1
Context insensitive completion 0 - 447 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 6
  • Best player score: 9
  • Number of attempts: 2
Simple, Practical, and Common - 28331 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: 13
  • Best player score: 38
  • Number of attempts: 2
learn vim in short time - 187 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 9
  • Number of attempts: 1
Where should I put the Newline? - 820 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
quotes inside quotes - 2885 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 2
The meaning - 508 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
abcd > a b c d - 245 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 2
Search and Replace 0 - 4350 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
Happy TvvO - 364 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 1
Add semicolons - 6347 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 20
  • Number of attempts: 1
Change part of a function name in multiple occurrences - 519 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
Jan Balangue
Twitter:

entered into 15 challenges

contributed 0 challenges