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

New teacher - 1529 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 20
  • Position: #32 / 320
  • Number of attempts: 2
Truth Table to ModelSim - 66 entries

Convert this truth table to simulator instructions!

  • Best score: 64
  • Best player score: 140
  • Position: #14 / 19
  • Number of attempts: 3
months to html list items - 1155 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #28 / 312
  • Number of attempts: 6
Find fix point of cos - 1485 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 31
  • Position: #369 / 434
  • Number of attempts: 2
HS exam question - 1638 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 65
  • Position: #166 / 424
  • Number of attempts: 2
delete swap - 1916 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #330 / 581
  • Number of attempts: 1
Fix the shell script! - 2691 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 42
  • Position: #460 / 633
  • Number of attempts: 1
hello-world-vimgolf - 2533 entries

Simple number generation

  • Best score: 10
  • Best player score: 14
  • Position: #560 / 726
  • Number of attempts: 3
Learn to ask for :help - 596 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 21
  • Position: #23 / 132
  • Number of attempts: 14
Simple, Practical, and Common - 34033 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
  • Position: #2397 / 7519
  • Number of attempts: 9
convert yml into java pojo field - 879 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: 29
  • Position: #91 / 233
  • Number of attempts: 7
Words in parens - 13058 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2553 / 3993
  • Number of attempts: 4
Reconstruct the Sentence - 1757 entries

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

  • Best score: 19
  • Best player score: 25
  • Position: #378 / 459
  • Number of attempts: 6

Contributed Challenges

New teacher - 1529 entries

Update the details of the new CS teacher.

John Kershaw
Github:

entered into 13 challenges

contributed 1 challenges