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

Generate a very basic Python constructor (fixed) - 901 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 42
  • Position: #91 / 202
  • Number of attempts: 6
Fix the shell script! - 1566 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 44
  • Position: #280 / 391
  • Number of attempts: 1
Visual block training - 729 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 58
  • Position: #111 / 140
  • Number of attempts: 4
Put a newline after every 10 lines in vim - 1286 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #101 / 441
  • Number of attempts: 9
hello-world-vimgolf - 1900 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #162 / 543
  • Number of attempts: 6
Inverting Lines - 1524 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 11
  • Position: #208 / 413
  • Number of attempts: 5
CSV to MD format - 329 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 86
  • Position: #53 / 76
  • Number of attempts: 8
Python dataclasses - 761 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 21
  • Position: #77 / 192
  • Number of attempts: 6
Just the middle - 11283 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1478 / 4140
  • Number of attempts: 3
A Simple One - 971 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: #531 / 632
  • Number of attempts: 2
Another Mixed-Up Haiku - 231 entries

VimGolf ... a perfect evening?

  • Best score: 21
  • Best player score: 28
  • Position: #63 / 84
  • Number of attempts: 5
James Duffy
Twitter:

entered into 11 challenges

contributed 0 challenges