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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 72
  • Position: #214 / 412
  • Number of attempts: 1
Reformat symbols in list - 1581 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 25
  • Position: #84 / 339
  • Number of attempts: 6
Poorly indented Python comments - 1307 entries

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

  • Best score: 15
  • Best player score: 15
  • Position: #31 / 219
  • Number of attempts: 8
Fix the shell script! - 2543 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #199 / 588
  • Number of attempts: 4
Wikitext headings to markdown - 986 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 21
  • Position: #65 / 208
  • Number of attempts: 5
hello-world-vimgolf - 2484 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #243 / 703
  • Number of attempts: 4
Fill in the chess board - 953 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 20
  • Position: #47 / 182
  • Number of attempts: 9
Lowercase first characters - 486 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: 41
  • Position: #99 / 182
  • Number of attempts: 2
A Simple One - 1039 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #521 / 658
  • Number of attempts: 1
Increment, increment, increment.... - 677 entries

Vim likes macros

  • Best score: 10
  • Best player score: 13
  • Position: #382 / 405
  • Number of attempts: 1
The Cake is a Lie - 1330 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 10
  • Position: #386 / 523
  • Number of attempts: 2
Simple text editing with Vim - 12632 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2508 / 3655
  • Number of attempts: 2
Ivan Trepakov
Twitter:

Compiler engineer at Excelsior Language VM Lab

entered into 12 challenges

contributed 0 challenges