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 - 1124 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 76
  • Position: #178 / 306
  • Number of attempts: 2
Poorly indented Python comments - 866 entries

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

  • Best score: 15
  • Best player score: 23
  • Position: #57 / 168
  • Number of attempts: 6
Many duplicates - 851 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #32 / 287
  • Number of attempts: 1
2 quick changes and a numbered list - 451 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: #107 / 108
  • Number of attempts: 1
delete swap - 1095 entries

delete all swap

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

Fix the shell script with the fewest keystrokes!

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

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #185 / 564
  • Number of attempts: 2
Lowercase first characters - 421 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 / 152
  • Number of attempts: 7
Search and Replace 0 - 4749 entries

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

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

Contributed Challenges

2 quick changes and a numbered list - 451 entries

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

Many duplicates - 851 entries

Quick and easy

Ron
Twitter:

Shark IT RC Heli Pilot from IOWA

entered into 9 challenges

contributed 2 challenges