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

HS exam question - 1578 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 76
  • Position: #242 / 416
  • Number of attempts: 2
Poorly indented Python comments - 1315 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 23
  • Position: #84 / 221
  • Number of attempts: 6
Many duplicates - 1445 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #55 / 468
  • Number of attempts: 1
2 quick changes and a numbered list - 647 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 391
  • Position: #153 / 154
  • Number of attempts: 1
delete swap - 1776 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #17 / 550
  • Number of attempts: 4
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 26
  • Position: #26 / 589
  • Number of attempts: 12
hello-world-vimgolf - 2499 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #185 / 708
  • Number of attempts: 2
Lowercase first characters - 487 entries

This is the (abridged) input for Day 3 in Advent of Code 2019. The output is a format more suitable for Prolog programming: the two lines of input become two lists of pairs, joined together in a wires functor.

  • Best score: 33
  • Best player score: 33
  • Position: #21 / 183
  • Number of attempts: 7
Search and Replace 0 - 4978 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #690 / 1621
  • Number of attempts: 3

Contributed Challenges

2 quick changes and a numbered list - 647 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

Many duplicates - 1445 entries

Quick and easy

Ron
Twitter:

Shark IT RC Heli Pilot from IOWA

entered into 9 challenges

contributed 2 challenges