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

Format a long line - 13 entries

Reformat long lines (gq), textwidth=78, no trailing spaces.

  • Best score: 17
  • Best player score: 518
  • Position: #8 / 8
  • Number of attempts: 1
Evil Numbers - 36 entries

Print the first 100 evil numbers https://oeis.org/A001969. This is an advert for code.golf https://code.golf/evil-numbers#viml

  • Best score: 25
  • Best player score: 350
  • Position: #10 / 10
  • Number of attempts: 1
Mirror image - 30 entries

Add the second eye

  • Best score: 15
  • Best player score: 4988
  • Position: #17 / 17
  • Number of attempts: 1
Find anomalies - 45 entries

There is one special character per line

  • Best score: 30
  • Best player score: 61
  • Position: #14 / 16
  • Number of attempts: 2
Coordinate extraction - 44 entries

Get the coordinates of all "M"s from the Vim logo

  • Best score: 43
  • Best player score: 70
  • Position: #11 / 12
  • Number of attempts: 1
Morse - 60 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 190
  • Position: #12 / 15
  • Number of attempts: 1
New teacher - 347 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 31
  • Position: #75 / 90
  • Number of attempts: 1
Truth Table to ModelSim - 33 entries

Convert this truth table to simulator instructions!

  • Best score: 64
  • Best player score: 238
  • Position: #13 / 13
  • Number of attempts: 1
Write Hello World in the 'i use arch btw' -programming language - 31 entries

> "I use Arch btw" is an esoteric programming language based on Brainfuck in which the Brainfuck commands have been replaced with the following keywords: i, use, arch, linux, btw, by, the, way. https://github.com/OverMighty/i-use-arch-btw

  • Best score: 162
  • Best player score: 670
  • Position: #13 / 16
  • Number of attempts: 1
Migrated to Postgres! - 316 entries

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

  • Best score: 26
  • Best player score: 29
  • Position: #68 / 123
  • Number of attempts: 3
Wrap the text of an email message to 79 characters - 690 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #299 / 390
  • Number of attempts: 1
199 Fibonacci Numbers - 41 entries

Generate 199 Fibonacci Numbers using, if you like, the function S(x,y), a vimscript to sum two big numbers in reverse order.

  • Best score: 51
  • Best player score: 93
  • Position: #17 / 19
  • Number of attempts: 1
Reconstruct the Sentence - 1379 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 20
  • Position: #138 / 387
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6616 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 37
  • Position: #568 / 1627
  • Number of attempts: 3

Contributed Challenges

Morse - 60 entries

Translate Morse code to Text

Coordinate extraction - 44 entries

Get the coordinates of all "M"s from the Vim logo

Find anomalies - 45 entries

There is one special character per line

Format a long line - 13 entries

Reformat long lines (gq), textwidth=78, no trailing spaces.

maharba6
Github:

entered into 14 challenges

contributed 4 challenges