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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 71
  • Position: #212 / 422
  • Number of attempts: 1
delete swap - 1912 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #153 / 580
  • Number of attempts: 3
Generate a very basic Python constructor (fixed) - 1297 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: #147 / 278
  • Number of attempts: 6
Put a newline after every 10 lines in vim - 1688 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #115 / 567
  • Number of attempts: 3
Java to JavaScript - 302 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 95
  • Position: #53 / 78
  • Number of attempts: 1
hello-world-vimgolf - 2533 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #395 / 726
  • Number of attempts: 7
Lowercase first characters - 509 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: #50 / 188
  • Number of attempts: 4
prepend * to every non-blank line - 6397 entries

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

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

entered into 8 challenges

contributed 0 challenges