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

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

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

Convert the wikitext headings to markdown.

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

Simple number generation

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

Speak in tongues

  • Best score: 17
  • Best player score: 20
  • Position: #149 / 230
  • Number of attempts: 1
Fill in the chess board - 737 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: #76 / 155
  • Number of attempts: 1
Plotting some variables in python - 1396 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: #110 / 295
  • Number of attempts: 3
Transpose a python matrix - 684 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 24
  • Position: #26 / 117
  • Number of attempts: 5
Lowercase first characters - 421 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 / 152
  • Number of attempts: 4
Migrated to Postgres! - 268 entries

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

  • Best score: 26
  • Best player score: 26
  • Position: #8 / 107
  • Number of attempts: 2
Increment number for every 10 lines - 180 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 / 53
  • Number of attempts: 3
simple replacements - 1264 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 21
  • Position: #121 / 283
  • Number of attempts: 3
Inverting Lines - 1562 entries

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

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

To convert a CSV list to Markdown list

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

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

  • Best score: 16
  • Best player score: 20
  • Position: #125 / 346
  • Number of attempts: 3
Alphabet soup - 402 entries

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

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

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

entered into 15 challenges

contributed 0 challenges