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

Put a newline after every 10 lines in vim - 348 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #56 / 128
  • Number of attempts: 1
Wikitext headings to markdown - 315 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 27
  • Position: #49 / 81
  • Number of attempts: 1
hello-world-vimgolf - 856 entries

Simple number generation

  • Best score: 10
  • Best player score: 16
  • Position: #220 / 254
  • Number of attempts: 1
Contribute to keyboard mashing - 427 entries

Speak in tongues

  • Best score: 17
  • Best player score: 20
  • Position: #92 / 133
  • Number of attempts: 1
Fill in the chess board - 346 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 33
  • Position: #33 / 86
  • Number of attempts: 1
Plotting some variables in python - 888 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 62
  • Position: #143 / 178
  • Number of attempts: 1
Lowercase first characters - 276 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: 57
  • Position: #93 / 101
  • Number of attempts: 1
Increment number for every 10 lines - 136 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 63
  • Position: #31 / 40
  • Number of attempts: 1
simple replacements - 855 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 24
  • Position: #119 / 192
  • Number of attempts: 2
ssh config skills - 184 entries

Parse output from `kuebctl get no -o wide` into an .ssh/config file!

  • Best score: 41
  • Best player score: 61
  • Position: #29 / 45
  • Number of attempts: 1
Mr. Hacker - 37 entries

Elvin is hacker. He has piece of users database from some social net site. Recently he installed Vim, and he wants to convert CSV DB to specific format `key=value' where `key' is login and `value' is password, but password in DB is encrypted in ROT13. Help him.

  • Best score: 19
  • Best player score: 19
  • Position: #9 / 18
  • Number of attempts: 3
Join 'em - 222 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #118 / 130
  • Number of attempts: 1
NATO phonetic alphabet - 462 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 22
  • Position: #109 / 175
  • Number of attempts: 1
Snurli
Twitter:

entered into 13 challenges

contributed 0 challenges