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

Poorly indented Python comments - 457 entries

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

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

Quick and easy

  • Best score: 2
  • Best player score: 8
  • Position: #19 / 105
  • Number of attempts: 1
2 quick changes and a numbered list - 190 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: #52 / 52
  • Number of attempts: 1
delete swap - 357 entries

delete all swap

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

Fix the shell script with the fewest keystrokes!

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

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #185 / 437
  • Number of attempts: 2
Lowercase first characters - 359 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 / 128
  • Number of attempts: 7
Search and Replace 0 - 4651 entries

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

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

Contributed Challenges

2 quick changes and a numbered list - 190 entries

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

Many duplicates - 287 entries

Quick and easy

Ron
Twitter:

Shark IT RC Heli Pilot from IOWA

entered into 8 challenges

contributed 2 challenges