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) - 545 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: #55 / 127
  • Number of attempts: 6
Fix the shell script! - 987 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 44
  • Position: #178 / 253
  • Number of attempts: 1
Visual block training - 446 entries

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

  • Best score: 18
  • Best player score: 58
  • Position: #70 / 91
  • Number of attempts: 4
Put a newline after every 10 lines in vim - 942 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #91 / 332
  • Number of attempts: 9
hello-world-vimgolf - 1533 entries

Simple number generation

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #184 / 363
  • Number of attempts: 5
CSV to MD format - 298 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 86
  • Position: #49 / 66
  • Number of attempts: 8
Python dataclasses - 650 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 21
  • Position: #69 / 169
  • Number of attempts: 6
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1479 / 4112
  • Number of attempts: 3
A Simple One - 924 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 / 612
  • Number of attempts: 2
Another Mixed-Up Haiku - 220 entries

VimGolf ... a perfect evening?

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

entered into 11 challenges

contributed 0 challenges