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

HS exam question - 1275 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 71
  • Position: #172 / 347
  • Number of attempts: 1
delete swap - 1268 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #153 / 403
  • Number of attempts: 3
Generate a very basic Python constructor (fixed) - 1008 entries

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

  • Best score: 29
  • Best player score: 44
  • Position: #118 / 221
  • Number of attempts: 6
Put a newline after every 10 lines in vim - 1426 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #102 / 481
  • Number of attempts: 3
Java to JavaScript - 225 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 95
  • Position: #42 / 60
  • Number of attempts: 1
hello-world-vimgolf - 2125 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #327 / 601
  • Number of attempts: 7
Lowercase first characters - 441 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: 34
  • Position: #43 / 161
  • Number of attempts: 4
prepend * to every non-blank line - 6141 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 12
  • Position: #784 / 1500
  • Number of attempts: 6
스치
Twitter:

entered into 8 challenges

contributed 0 challenges