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

Put the months in order - 373 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 23
  • Best player score: 50
  • Number of attempts: 1
simple format - 2389 entries

make it look better.

  • Best score: 20
  • Best player score: 40
  • Number of attempts: 2
Swap the operands under comparison - 203 entries

Swap the operands under comparison to prevent null pointer exception (at least in java)

  • Best score: 7
  • Best player score: 37
  • Number of attempts: 1
Simple, Practical, and Common - 24063 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: 2
  • Best player score: 34
  • Number of attempts: 1
Array transposition - 1515 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 74
  • Number of attempts: 1
Split line with dots - 1795 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 30
  • Number of attempts: 1
One to Ten - 774 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 1
A grid of punctuation - 112 entries

Create a checkerboard of = and - in an 80×24 grid!

  • Best score: 16
  • Best player score: 21
  • Number of attempts: 2
unknown command - 107 entries

I want change 5 words

  • Best score: 6
  • Best player score: 7
  • Number of attempts: 2
Delete to the end of the current line - 390 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 2
Com(m)a Trouble - 1283 entries

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

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 2
convert yml into java pojo field - 620 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 36
  • Number of attempts: 1
Team names - 1397 entries

The team names are misspelled.

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 1
Array Transposition - 129 entries

Transpose four arrays into two.

  • Best score: 7
  • Best player score: 55
  • Number of attempts: 1
Array propagate - 227 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 41
  • Number of attempts: 1
Missing Library and a Typo - 654 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 23
  • Number of attempts: 1
Stairstep digits - 214 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Number of attempts: 2
Create a table - 233 entries

Convert the given input into a formatted table

  • Best score: 16
  • Best player score: 24
  • Number of attempts: 1
Box it - 1947 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Number of attempts: 1
Miki Tebeka
Twitter:

CEO of 353solutions. We deliver world class, effective, hands-on workshops.

entered into 19 challenges

contributed 0 challenges