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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 71
  • Position: #207 / 416
  • Number of attempts: 1
delete swap - 1773 entries

delete all swap

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #113 / 555
  • Number of attempts: 3
Java to JavaScript - 267 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 95
  • Position: #49 / 72
  • Number of attempts: 1
hello-world-vimgolf - 2494 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #385 / 706
  • Number of attempts: 7
Lowercase first characters - 487 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: #48 / 183
  • Number of attempts: 4
prepend * to every non-blank line - 6304 entries

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

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

entered into 8 challenges

contributed 0 challenges