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

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

  • Best score: 19
  • Best player score: 36
  • Position: #94 / 130
  • Number of attempts: 3
Lowercase first characters - 487 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: #122 / 183
  • Number of attempts: 2
Python dataclasses - 1192 entries

Simple challenge to extract fields from a Python class

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

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #47 / 206
  • Number of attempts: 1
HS Final exam vimgolf - 904 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: #108 / 238
  • Number of attempts: 1
Easy modification of ssh config - 382 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 27
  • Position: #56 / 115
  • Number of attempts: 3
Add quotes to ansible playbook - 1007 entries

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

  • Best score: 8
  • Best player score: 9
  • Position: #160 / 316
  • Number of attempts: 4
Multiline to Single Line - 735 entries

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

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

Reformat this copy-paste data! #csv

  • Best score: 36
  • Best player score: 100
  • Position: #58 / 65
  • 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