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

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

  • Best score: 10
  • Best player score: 10
  • Position: #1 / 379
  • Number of attempts: 2
Wikitext headings to markdown - 681 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 22
  • Position: #55 / 151
  • Number of attempts: 4
hello-world-vimgolf - 1672 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #93 / 479
  • Number of attempts: 1
Contribute to keyboard mashing - 680 entries

Speak in tongues

  • Best score: 17
  • Best player score: 20
  • Position: #139 / 205
  • Number of attempts: 1
Fill in the chess board - 636 entries

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

  • Best score: 19
  • Best player score: 35
  • Position: #67 / 131
  • Number of attempts: 1
Plotting some variables in python - 1237 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: 41
  • Position: #98 / 259
  • Number of attempts: 3
Transpose a python matrix - 616 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 24
  • Position: #25 / 110
  • Number of attempts: 5
Lowercase first characters - 375 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: #36 / 135
  • Number of attempts: 4
Migrated to Postgres! - 226 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 26
  • Position: #8 / 91
  • Number of attempts: 2
Increment number for every 10 lines - 162 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: 26
  • Position: #16 / 47
  • Number of attempts: 3
simple replacements - 1153 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 21
  • Position: #111 / 256
  • Number of attempts: 3
Inverting Lines - 1399 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #139 / 383
  • Number of attempts: 3
CSV to MD format - 323 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 69
  • Position: #36 / 72
  • Number of attempts: 3
swap number pairs - 1616 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 20
  • Position: #111 / 299
  • Number of attempts: 3
Alphabet soup - 392 entries

Create a column of all alphabet characters organized in a funky way

  • Best score: 25
  • Best player score: 26
  • Position: #50 / 93
  • Number of attempts: 2
$HA-||
Twitter:

Amazonでよくレビューしてる人

entered into 15 challenges

contributed 0 challenges