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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 71
  • Position: #199 / 397
  • Number of attempts: 1
delete swap - 1527 entries

delete all swap

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #108 / 525
  • Number of attempts: 3
Java to JavaScript - 257 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 95
  • Position: #46 / 67
  • Number of attempts: 1
hello-world-vimgolf - 2361 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #365 / 667
  • Number of attempts: 7
Lowercase first characters - 467 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: #45 / 175
  • Number of attempts: 4
prepend * to every non-blank line - 6208 entries

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

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

entered into 8 challenges

contributed 0 challenges