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

Learn to ask for :help - 596 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 36
  • Position: #96 / 132
  • Number of attempts: 3
Lowercase first characters - 509 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: 44
  • Position: #125 / 188
  • Number of attempts: 2
Python dataclasses - 1253 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 32
  • Position: #228 / 313
  • Number of attempts: 1
Making 3 line function a one liner. - 347 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #47 / 214
  • Number of attempts: 1
HS Final exam vimgolf - 936 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 24
  • Position: #111 / 245
  • Number of attempts: 1
Easy modification of ssh config - 406 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 27
  • Position: #57 / 119
  • Number of attempts: 3
Add quotes to ansible playbook - 1049 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 9
  • Position: #163 / 332
  • Number of attempts: 4
Multiline to Single Line - 754 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #119 / 322
  • Number of attempts: 1
Data reformat - 321 entries

Reformat this copy-paste data! #csv

  • Best score: 36
  • Best player score: 100
  • Position: #61 / 68
  • Number of attempts: 2
Russell Helmstedter
Twitter:

I teach math and coding. Preferably at the same time. he/him

entered into 9 challenges

contributed 0 challenges