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

Instance creation in Verilog - 41 entries

Creating an instance of a module is a very frequent task in Verilog. Let's see how efficiently can it be done

  • Best score: 107
  • Best player score: 181
  • Position: #8 / 9
  • Number of attempts: 6
Quicksort - 1883 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 6
  • Position: #57 / 412
  • Number of attempts: 7
EDN reformat - 1133 entries

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

  • Best score: 17
  • Best player score: 18
  • Position: #50 / 158
  • Number of attempts: 16
Tic-Tac-Toe Grid Transformation - 381 entries

Your mission is to efficiently convert the original Tic-Tac-Toe grid, represented by 'x's and 'o's, into a neat and well-organized game board.

  • Best score: 56
  • Best player score: 71
  • Position: #22 / 82
  • Number of attempts: 12
Pick and sort servers from mirror list - 409 entries

Retrieve the primary server for each country from a mirror list file and organize them alphabetically by country name. Given a mirror list file containing server information for various countries, the objective is to extract the primary server from each country and then arrange these servers in alphabetical order based on the respective country names.

  • Best score: 28
  • Best player score: 42
  • Position: #52 / 84
  • Number of attempts: 7
Populate 3D bone names list - 598 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 21
  • Position: #23 / 152
  • Number of attempts: 5
Remove line numbers - 694 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: 13
  • Position: #91 / 189
  • Number of attempts: 4
Find fix point of cos - 1365 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: 15
  • Position: #188 / 397
  • Number of attempts: 1
Insert column data on Confluence-style table - 445 entries

Add ip addresses into new "IP" column based on the last digits from the "Server" column

  • Best score: 33
  • Best player score: 45
  • Position: #47 / 107
  • Number of attempts: 7
Surround the 'z' character with brackets, quotes, and print as formatted string. - 540 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #171 / 301
  • Number of attempts: 1
Easier Align - 393 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 64
  • Position: #17 / 95
  • Number of attempts: 7
Python dataclasses - 1127 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 26
  • Position: #158 / 283
  • Number of attempts: 3
Matt Zhang
Github:

entered into 12 challenges

contributed 0 challenges