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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 72
  • Position: #179 / 347
  • Number of attempts: 1
Reformat symbols in list - 1210 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #67 / 274
  • Number of attempts: 6
Poorly indented Python comments - 963 entries

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

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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #156 / 448
  • Number of attempts: 4
Wikitext headings to markdown - 854 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 21
  • Position: #55 / 181
  • Number of attempts: 5
hello-world-vimgolf - 2124 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #243 / 600
  • Number of attempts: 4
Fill in the chess board - 782 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: #40 / 161
  • Number of attempts: 9
Lowercase first characters - 436 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: #86 / 160
  • Number of attempts: 2
A Simple One - 978 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 / 636
  • Number of attempts: 1
Increment, increment, increment.... - 626 entries

Vim likes macros

  • Best score: 10
  • Best player score: 13
  • Position: #372 / 393
  • Number of attempts: 1
The Cake is a Lie - 1266 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 10
  • Position: #378 / 506
  • Number of attempts: 2
Simple text editing with Vim - 11962 entries

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

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

Compiler engineer at Excelsior Language VM Lab

entered into 12 challenges

contributed 0 challenges