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

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

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

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 22
  • Position: #64 / 166
  • Number of attempts: 4
hello-world-vimgolf - 1863 entries

Simple number generation

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

Speak in tongues

  • Best score: 17
  • Best player score: 20
  • Position: #147 / 222
  • Number of attempts: 1
Fill in the chess board - 701 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: #74 / 148
  • Number of attempts: 1
Plotting some variables in python - 1329 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: #105 / 281
  • Number of attempts: 3
Transpose a python matrix - 648 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 24
  • Position: #26 / 114
  • Number of attempts: 5
Lowercase first characters - 406 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: #39 / 145
  • Number of attempts: 4
Migrated to Postgres! - 250 entries

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

  • Best score: 26
  • Best player score: 26
  • Position: #8 / 99
  • Number of attempts: 2
Increment number for every 10 lines - 177 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: #17 / 51
  • Number of attempts: 3
simple replacements - 1202 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 21
  • Position: #117 / 268
  • Number of attempts: 3
Inverting Lines - 1480 entries

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

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

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 69
  • Position: #37 / 76
  • Number of attempts: 3
swap number pairs - 1817 entries

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

  • Best score: 16
  • Best player score: 20
  • Position: #121 / 336
  • Number of attempts: 3
Alphabet soup - 400 entries

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

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

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

entered into 15 challenges

contributed 0 challenges