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 - 351 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: #10 / 84
  • Number of attempts: 9
Evil Numbers - 103 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: #24 / 26
  • Number of attempts: 1
New teacher - 1423 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 22
  • Position: #65 / 300
  • 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 - 1110 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #24 / 301
  • Number of attempts: 3
EDN reformat - 1193 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 / 169
  • Number of attempts: 20
Remove line numbers - 752 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: #151 / 201
  • Number of attempts: 3
Find fix point of cos - 1444 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 / 427
  • Number of attempts: 3
Paste a column after a column - 2632 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 / 570
  • Number of attempts: 10
HS exam question - 1599 entries

Convert the data to a python dictionary

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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 28
  • Position: #177 / 616
  • Number of attempts: 11
hello-world-vimgolf - 2513 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #321 / 717
  • 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