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) - 1172 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: #111 / 245
  • Number of attempts: 6
Fix the shell script! - 2328 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 44
  • Position: #399 / 539
  • Number of attempts: 1
Visual block training - 1001 entries

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

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #109 / 524
  • Number of attempts: 9
hello-world-vimgolf - 2346 entries

Simple number generation

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #247 / 497
  • Number of attempts: 5
CSV to MD format - 388 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 86
  • Position: #60 / 91
  • Number of attempts: 8
Python dataclasses - 1104 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 21
  • Position: #120 / 277
  • Number of attempts: 6
Just the middle - 11360 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1478 / 4164
  • Number of attempts: 3
A Simple One - 1001 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 / 643
  • Number of attempts: 2
Another Mixed-Up Haiku - 237 entries

VimGolf ... a perfect evening?

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

entered into 11 challenges

contributed 0 challenges