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

Generate an entry for each month - 217 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 32
  • Position: #9 / 64
  • Number of attempts: 9
Evil Numbers - 96 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: 320
  • Position: #23 / 25
  • Number of attempts: 1
New teacher - 1354 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 22
  • Position: #63 / 281
  • Number of attempts: 6
Truth Table to ModelSim - 58 entries

Convert this truth table to simulator instructions!

  • Best score: 64
  • Best player score: 146
  • Position: #14 / 17
  • Number of attempts: 1
months to html list items - 1088 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #24 / 295
  • Number of attempts: 3
EDN reformat - 1175 entries

The goal is to make the code more readable and concise while maintaining its functionality.

  • Best score: 17
  • Best player score: 18
  • Position: #72 / 167
  • Number of attempts: 20
Remove line numbers - 745 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 9
  • Best player score: 30
  • Position: #149 / 199
  • Number of attempts: 3
Find fix point of cos - 1426 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 14
  • Position: #64 / 422
  • Number of attempts: 3
Paste a column after a column - 2604 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 14
  • Position: #96 / 565
  • Number of attempts: 10
HS exam question - 1596 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 59
  • Position: #118 / 418
  • Number of attempts: 5
Fix the shell script! - 2605 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 28
  • Position: #176 / 606
  • Number of attempts: 11
hello-world-vimgolf - 2505 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #321 / 712
  • Number of attempts: 5
Learn to ask for :help - 587 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 21
  • Position: #24 / 130
  • Number of attempts: 10
Tomek
Github:

entered into 13 challenges

contributed 0 challenges